Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio/adc: (max1363) Remove duplicate code

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Guenter Roeck and committed by
Jonathan Cameron
dcb9ca0a 315ce4b8

-2
-2
drivers/iio/adc/max1363.c
··· 1572 1572 indio_dev->num_channels = st->chip_info->num_channels; 1573 1573 indio_dev->info = st->chip_info->info; 1574 1574 indio_dev->modes = INDIO_DIRECT_MODE; 1575 - indio_dev->channels = st->chip_info->channels; 1576 - indio_dev->num_channels = st->chip_info->num_channels; 1577 1575 ret = max1363_initial_setup(st); 1578 1576 if (ret < 0) 1579 1577 goto error_free_available_scan_masks;