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:
a11e619
)
iio/adc: (lp8788) Provide OF node information to iio device
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 09:55:21 +0000
(09:55 +0000)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/lp8788_adc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/lp8788_adc.c
b/drivers/iio/adc/lp8788_adc.c
index f8bcb1f5892df23e2c3c4e25289eaa1fc96752ba..d02704ce0091044ef49e6f62f439d0dee6b07ff8 100644
(file)
--- a/
drivers/iio/adc/lp8788_adc.c
+++ b/
drivers/iio/adc/lp8788_adc.c
@@
-208,6
+208,7
@@
static int lp8788_adc_probe(struct platform_device *pdev)
adc->lp = lp;
platform_set_drvdata(pdev, indio_dev);
+ indio_dev->dev.of_node = pdev->dev.of_node;
ret = lp8788_iio_map_register(indio_dev, lp->pdata, adc);
if (ret)
goto err_iio_map;