From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:52067 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752743AbcGYAb2 (ORCPT ); Sun, 24 Jul 2016 20:31:28 -0400 Subject: Patch "iio: light apds9960: Add the missing dev.parent" has been added to the 4.6-stable tree To: sdliyong@gmail.com, gregkh@linuxfoundation.org, jic23@kernel.org, mranostay@gmail.com Cc: , From: Date: Sun, 24 Jul 2016 17:31:43 -0700 Message-ID: <1469406703199167@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled iio: light apds9960: Add the missing dev.parent to the 4.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: iio-light-apds9960-add-the-missing-dev.parent.patch and it can be found in the queue-4.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 590b92a30242dd3f73de3d9a51d9924f1ab33e93 Mon Sep 17 00:00:00 2001 From: Yong Li Date: Thu, 5 May 2016 16:10:49 +0800 Subject: iio: light apds9960: Add the missing dev.parent From: Yong Li 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 Reviewed-By: Matt Ranostay Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/light/apds9960.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/iio/light/apds9960.c +++ b/drivers/iio/light/apds9960.c @@ -1006,6 +1006,7 @@ static int apds9960_probe(struct i2c_cli iio_device_attach_buffer(indio_dev, buffer); + indio_dev->dev.parent = &client->dev; indio_dev->info = &apds9960_info; indio_dev->name = APDS9960_DRV_NAME; indio_dev->channels = apds9960_channels; Patches currently in stable-queue which might be from sdliyong@gmail.com are queue-4.6/iio-light-apds9960-add-the-missing-dev.parent.patch