]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: max30100: Set parent device
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Feb 2017 12:34:17 +0000 (13:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Feb 2017 11:59:36 +0000 (11:59 +0000)
commit5d548b733eb4b5cfb03e1acbcbfafca97455132c
tree2b961b86b836fb4765bba93abc8984c3c0507c23
parent83535359c4302cb0f928eb931b7b1bc0a21a66c5
iio: max30100: Set parent device

Initialize the parent of the IIO device to the device that registered it.
This makes sure that the IIO device appears the right level in the device
hierarchy.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/max30100.c