diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-05-28 10:06:17 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 11:38:54 +0200 |
commit | 6a3a871b4baa4fe983038a3a64c05a55ce640797 (patch) | |
tree | 828dec8dfd56ef9e048ec6398bb5e4babd5b2707 /drivers/leds/led-class.c | |
parent | c5a87a4ac2bfecd146d7a2653481e5cea4bf76fe (diff) |
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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/led-class.c')
-rw-r--r-- | drivers/leds/led-class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 2e495ff67856..16271a1de12a 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -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() - * @parent: The device to unregister. + * @dev: The device to unregister. * @led_cdev: the led_classdev structure for this device. */ void devm_led_classdev_unregister(struct device *dev, |