]> git.baikalelectronics.ru Git - kernel.git/commit
iio: max31856: add missing of_node and parent references to iio_dev
authorAndrea Merello <andrea.merello@gmail.com>
Mon, 9 Sep 2019 12:58:17 +0000 (14:58 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Sep 2019 12:26:06 +0000 (13:26 +0100)
commit692f8b350f054736c8ca0c80f1999515b31cc1eb
treed311fe6da9abd74fabbdd0a97bcfc24686b3cbe8
parent9715ff65b5c1cb8f4bdcb79bcb9b5b0826975a89
iio: max31856: add missing of_node and parent references to iio_dev

Adding missing indio_dev->dev.of_node references so that, in case multiple
max31856 are present, users can get some clues to being able to distinguish
each of them. While at it, add also the missing parent reference.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/max31856.c