Commit e3f12714 authored by Dan Murphy's avatar Dan Murphy Committed by Jacek Anaszewski

leds: core: Fix leds.h structure documentation

Update the leds.h structure documentation to define the
correct arguments.
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 54ecb8f7
...@@ -247,7 +247,7 @@ extern void led_set_brightness(struct led_classdev *led_cdev, ...@@ -247,7 +247,7 @@ extern void led_set_brightness(struct led_classdev *led_cdev,
/** /**
* led_set_brightness_sync - set LED brightness synchronously * led_set_brightness_sync - set LED brightness synchronously
* @led_cdev: the LED to set * @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 * Set an LED's brightness immediately. This function will block
* the caller for the time required for accessing device registers, * the caller for the time required for accessing device registers,
...@@ -301,8 +301,7 @@ extern void led_sysfs_enable(struct led_classdev *led_cdev); ...@@ -301,8 +301,7 @@ extern void led_sysfs_enable(struct led_classdev *led_cdev);
/** /**
* led_compose_name - compose LED class device name * led_compose_name - compose LED class device name
* @dev: LED controller device object * @dev: LED controller device object
* @child: child fwnode_handle describing a LED or a group of synchronized LEDs; * @init_data: the LED class device initialization data
* it must be provided only for fwnode based LEDs
* @led_classdev_name: composed LED class device name * @led_classdev_name: composed LED class device name
* *
* Create LED class device name basing on the provided init_data argument. * Create LED class device name basing on the provided init_data argument.
......
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