Commit 6a3a871b authored by Lee Jones's avatar Lee Jones Committed by Pavel Machek

leds: led-class: Fix incorrectly documented param 'dev'

Fixes the following W=1 kernel build warning(s):

 drivers/leds/led-class.c:521: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister'
 drivers/leds/led-class.c:521: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister'

Cc: Pavel Machek <pavel@ucw.cz>
Cc: John Lenz <lenz@cs.wisc.edu>
Cc: Richard Purdie <rpurdie@openedhand.com>
Cc: linux-leds@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent c5a87a4a
...@@ -513,7 +513,7 @@ static int devm_led_classdev_match(struct device *dev, void *res, void *data) ...@@ -513,7 +513,7 @@ static int devm_led_classdev_match(struct device *dev, void *res, void *data)
/** /**
* devm_led_classdev_unregister() - resource managed led_classdev_unregister() * devm_led_classdev_unregister() - resource managed led_classdev_unregister()
* @parent: The device to unregister. * @dev: The device to unregister.
* @led_cdev: the led_classdev structure for this device. * @led_cdev: the led_classdev structure for this device.
*/ */
void devm_led_classdev_unregister(struct device *dev, void devm_led_classdev_unregister(struct device *dev,
......
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