]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: light apds9960: Add the missing dev.parent
authorYong Li <sdliyong@gmail.com>
Thu, 5 May 2016 08:10:49 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:20 +0000 (08:42 -0700)
commit43c1f4698602e3440968fc8df71d1ff4e69e33fe
tree6080c8b6611aa6009767a369ae39671f33639578
parent1c94121fddb2e823898d743d1935a045c9ef3ca1
iio: light apds9960: Add the missing dev.parent

commit 590b92a30242dd3f73de3d9a51d9924f1ab33e93 upstream.

Without this, the iio:deviceX is missing in the /sys/bus/i2c/devices/0-0039
Some userspace tools use this path to identify a specific instance of the
device.

Signed-off-by: Yong Li <sdliyong@gmail.com>
Reviewed-By: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/light/apds9960.c