aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds.h
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2019-10-02 07:40:42 -0500
committerPavel <pavel@ucw.cz>2019-11-03 17:38:55 +0100
commit9cc93be7b0c91a87ef452457c706af62741249d7 (patch)
treeb9a85020cad09dd05d39408ec04036cc6b01d7da /include/linux/leds.h
parentleds: core: Fix devm_classdev_match to reference correct structure (diff)
downloadlinux-dev-9cc93be7b0c91a87ef452457c706af62741249d7.tar.xz
linux-dev-9cc93be7b0c91a87ef452457c706af62741249d7.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: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include/linux/leds.h')
-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 52e50183b963..242258f7d837 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -245,7 +245,7 @@ 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,
@@ -298,8 +298,7 @@ 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.