aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2019-10-02 07:40:42 -0500
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-10-08 22:05:58 +0200
commite3f1271474182682638654021123b94e6ec1626b (patch)
tree470cd4bd81dfd7dd971ebb75ac2d29638e89fc9c /include
parentLinux 5.4-rc1 (diff)
downloadlinux-dev-e3f1271474182682638654021123b94e6ec1626b.tar.xz
linux-dev-e3f1271474182682638654021123b94e6ec1626b.zip
leds: core: Fix leds.h structure documentation
Update the leds.h structure documentation to define the correct arguments. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/leds.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index b8df71193329..efb309dba914 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -247,7 +247,7 @@ extern void led_set_brightness(struct led_classdev *led_cdev,
/**
* led_set_brightness_sync - set LED brightness synchronously
* @led_cdev: the LED to set
- * @brightness: the brightness to set it to
+ * @value: the brightness to set it to
*
* Set an LED's brightness immediately. This function will block
* the caller for the time required for accessing device registers,
@@ -301,8 +301,7 @@ extern void led_sysfs_enable(struct led_classdev *led_cdev);
/**
* led_compose_name - compose LED class device name
* @dev: LED controller device object
- * @child: child fwnode_handle describing a LED or a group of synchronized LEDs;
- * it must be provided only for fwnode based LEDs
+ * @init_data: the LED class device initialization data
* @led_classdev_name: composed LED class device name
*
* Create LED class device name basing on the provided init_data argument.