]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: stx104: Set parent device
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Feb 2017 12:34:14 +0000 (13:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Feb 2017 11:53:05 +0000 (11:53 +0000)
commitc5c7d1f34c333d0a14f1f80d3d46eed4f338211e
tree99056065f18175e4de722bed22e181a5f842193a
parent31b9f91913cb18d7eb2276640bf0a56fb352d7b6
iio: stx104: 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>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/stx104.c