projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4cac95
)
staging: iio: lpc32xx_adc: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 6 Jun 2013 09:27:00 +0000
(10:27 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 6 Jun 2013 18:48:00 +0000
(19:48 +0100)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Tested-by: Roland Stigge <stigge@antcom.de>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/lpc32xx_adc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/adc/lpc32xx_adc.c
b/drivers/staging/iio/adc/lpc32xx_adc.c
index 2f2f7fdd06913b7bfbdafd7a077c83deb779b9f5..9a4bb0999b51244d3e621610aa626477f5f851f5 100644
(file)
--- a/
drivers/staging/iio/adc/lpc32xx_adc.c
+++ b/
drivers/staging/iio/adc/lpc32xx_adc.c
@@
-215,7
+215,6
@@
static int lpc32xx_adc_remove(struct platform_device *pdev)
iio_device_unregister(iodev);
free_irq(irq, info);
- platform_set_drvdata(pdev, NULL);
clk_put(info->clk);
iounmap(info->adc_base);
iio_device_free(iodev);