Commit 6c05632d authored by Lee Jones's avatar Lee Jones

backlight: backlight: Supply description for function args in existing Kerneldocs

Kerneldoc syntax is used, but not complete.  Descriptions required.

Prevents warnings like:

 drivers/video/backlight/backlight.c:329: warning: Function parameter or member 'reason' not described in 'backlight_force_update'
 drivers/video/backlight/backlight.c:354: warning: Function parameter or member 'props' not described in 'backlight_device_register'

Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Jamey Hicks <jamey.hicks@hp.com>
Cc: Andrew Zabolotny <zap@homelink.ru>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 7099c930
...@@ -320,6 +320,7 @@ ATTRIBUTE_GROUPS(bl_device); ...@@ -320,6 +320,7 @@ ATTRIBUTE_GROUPS(bl_device);
* backlight_force_update - tell the backlight subsystem that hardware state * backlight_force_update - tell the backlight subsystem that hardware state
* has changed * has changed
* @bd: the backlight device to update * @bd: the backlight device to update
* @reason: reason for update
* *
* Updates the internal state of the backlight in response to a hardware event, * Updates the internal state of the backlight in response to a hardware event,
* and generate a uevent to notify userspace * and generate a uevent to notify userspace
...@@ -344,6 +345,7 @@ EXPORT_SYMBOL(backlight_force_update); ...@@ -344,6 +345,7 @@ EXPORT_SYMBOL(backlight_force_update);
* @devdata: an optional pointer to be stored for private driver use. The * @devdata: an optional pointer to be stored for private driver use. The
* methods may retrieve it by using bl_get_data(bd). * methods may retrieve it by using bl_get_data(bd).
* @ops: the backlight operations structure. * @ops: the backlight operations structure.
* @props: pointer to backlight's properties structure.
* *
* Creates and registers new backlight device. Returns either an * Creates and registers new backlight device. Returns either an
* ERR_PTR() or a pointer to the newly allocated device. * ERR_PTR() or a pointer to the newly allocated device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment