From 315ce4b882ad616139a811f5274c16556c5abdf3 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Thu, 31 Jan 2013 21:43:00 +0000 Subject: [PATCH] iio/adc: (max1363) Provide OF node information to iio device Signed-off-by: Guenter Roeck Signed-off-by: Jonathan Cameron --- drivers/iio/adc/max1363.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c index eba1034d8606..65eceed7070c 100644 --- 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; -- 2.20.1