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:
c842f24
)
iio: adc: viperboard: Drop platform_set_drvdata call
author
Johannes Thumshirn
<morbidrsa@gmail.com>
Thu, 2 Jan 2014 14:52:00 +0000
(14:52 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Mon, 3 Feb 2014 19:27:59 +0000
(19:27 +0000)
Drop call to platform_set_drvdata as driver data is not used anywhere in the
driver
Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/viperboard_adc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/viperboard_adc.c
b/drivers/iio/adc/viperboard_adc.c
index d0add8f9416ba8edf9b0263c8ba0b50831eef58a..9acf6b6d705bd34fa902b1aa911472df56538198 100644
(file)
--- a/
drivers/iio/adc/viperboard_adc.c
+++ b/
drivers/iio/adc/viperboard_adc.c
@@
-139,8
+139,6
@@
static int vprbrd_adc_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, indio_dev);
-
return 0;
}