[2/8] backlight: lcd: Add missing kerneldoc entry for 'struct device parent'

Message ID 20200624145721.2590327-3-lee.jones@linaro.org
State Accepted
Commit 4160ebacd3579651c5fd9cb1d27dc2205adb13d7
Headers show
Series
  • Untitled series #28416
Related show

Commit Message

Lee Jones June 24, 2020, 2:57 p.m.
This has been missing since the conversion to 'struct device' in 2007.

Cc: <stable@vger.kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Jamey Hicks <jamey.hicks@hp.com>
Cc: Andrew Zabolotny <zap@homelink.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/video/backlight/lcd.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.25.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Comments

Daniel Thompson June 25, 2020, 9:28 a.m. | #1
On Wed, Jun 24, 2020 at 03:57:15PM +0100, Lee Jones wrote:
> This has been missing since the conversion to 'struct device' in 2007.

> 

> Cc: <stable@vger.kernel.org>

> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

> Cc: Jamey Hicks <jamey.hicks@hp.com>

> Cc: Andrew Zabolotny <zap@homelink.ru>

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>



> ---

>  drivers/video/backlight/lcd.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/video/backlight/lcd.c b/drivers/video/backlight/lcd.c

> index 78b0333586258..db56e465aaff3 100644

> --- a/drivers/video/backlight/lcd.c

> +++ b/drivers/video/backlight/lcd.c

> @@ -179,6 +179,7 @@ ATTRIBUTE_GROUPS(lcd_device);

>   * lcd_device_register - register a new object of lcd_device class.

>   * @name: the name of the new object(must be the same as the name of the

>   *   respective framebuffer device).

> + * @parent: pointer to the parent's struct device .

>   * @devdata: an optional pointer to be stored in the device. The

>   *   methods may retrieve it by using lcd_get_data(ld).

>   * @ops: the lcd operations structure.

> -- 

> 2.25.1

> 

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Patch

diff --git a/drivers/video/backlight/lcd.c b/drivers/video/backlight/lcd.c
index 78b0333586258..db56e465aaff3 100644
--- a/drivers/video/backlight/lcd.c
+++ b/drivers/video/backlight/lcd.c
@@ -179,6 +179,7 @@  ATTRIBUTE_GROUPS(lcd_device);
  * lcd_device_register - register a new object of lcd_device class.
  * @name: the name of the new object(must be the same as the name of the
  *   respective framebuffer device).
+ * @parent: pointer to the parent's struct device .
  * @devdata: an optional pointer to be stored in the device. The
  *   methods may retrieve it by using lcd_get_data(ld).
  * @ops: the lcd operations structure.