projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a69e6
)
iio/adc: (max1363) 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/max1363.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/max1363.c
b/drivers/iio/adc/max1363.c
index eba1034d860640760ac8b06e02f764fcff572e49..65eceed7070c5fa6ec8fc40f09885431f42cb5ab 100644
(file)
--- a/
drivers/iio/adc/max1363.c
+++ b/
drivers/iio/adc/max1363.c
@@
-1538,6
+1538,7
@@
static int max1363_probe(struct i2c_client *client,
goto error_out;
}
+ indio_dev->dev.of_node = client->dev.of_node;
ret = iio_map_array_register(indio_dev, client->dev.platform_data);
if (ret < 0)
goto error_free_device;