]> asedeno.scripts.mit.edu Git - linux.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)
commit505ea3ada665c466d0064b11b6e611b7f995517d
treed311fe6da9abd74fabbdd0a97bcfc24686b3cbe8
parent22ea565110731e48d9434d029df4f62c94df0a89
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