]> 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)
commit84a323ecc9d62596e6956a4c85b7ab1b1a95f540
treefb90c1dfb51c3dc4f73450ab53b6986f2d6b64a0
parenta5ae7c8d571bfaa2abb48c3c889ef73b53911054
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