Skip to content

Commit

Permalink
leds: core: Fix leds.h structure documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Murphy authored and Pavel committed Nov 3, 2019
1 parent 4b83cf0 commit 9cc93be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/linux/leds.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9cc93be

Please sign in to comment.