Commit 315ce4b8 authored by Guenter Roeck's avatar Guenter Roeck Committed by Jonathan Cameron

iio/adc: (max1363) Provide OF node information to iio device

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c3a69e6c
...@@ -1538,6 +1538,7 @@ static int max1363_probe(struct i2c_client *client, ...@@ -1538,6 +1538,7 @@ static int max1363_probe(struct i2c_client *client,
goto error_out; goto error_out;
} }
indio_dev->dev.of_node = client->dev.of_node;
ret = iio_map_array_register(indio_dev, client->dev.platform_data); ret = iio_map_array_register(indio_dev, client->dev.platform_data);
if (ret < 0) if (ret < 0)
goto error_free_device; goto error_free_device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment