projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315ce4b
)
iio/adc: (max1363) Remove duplicate code
author
Guenter Roeck
<linux@roeck-us.net>
Thu, 31 Jan 2013 21:43:00 +0000
(21:43 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 2 Feb 2013 10:07:27 +0000
(10:07 +0000)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/max1363.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/max1363.c
b/drivers/iio/adc/max1363.c
index 65eceed7070c5fa6ec8fc40f09885431f42cb5ab..77c123fcd0d0ddedf3338e73c230ef2fa6d14dcb 100644
(file)
--- a/
drivers/iio/adc/max1363.c
+++ b/
drivers/iio/adc/max1363.c
@@
-1572,8
+1572,6
@@
static int max1363_probe(struct i2c_client *client,
indio_dev->num_channels = st->chip_info->num_channels;
indio_dev->info = st->chip_info->info;
indio_dev->modes = INDIO_DIRECT_MODE;
- indio_dev->channels = st->chip_info->channels;
- indio_dev->num_channels = st->chip_info->num_channels;
ret = max1363_initial_setup(st);
if (ret < 0)
goto error_free_available_scan_masks;