]> git.baikalelectronics.ru Git - kernel.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)
committerJonathan Cameron <jic23@kernel.org>
Fri, 3 Jun 2016 11:54:51 +0000 (12:54 +0100)
commita409d001c5cf41c1e2ff498cf2f83e469b49eeec
treefb90c1dfb51c3dc4f73450ab53b6986f2d6b64a0
parent713e8d3337ba65afcb6fbc61791e05a8a7e231c3
iio: light apds9960: Add the missing dev.parent

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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/apds9960.c