From: Lee Jones Date: Fri, 28 May 2021 09:06:17 +0000 (+0100) Subject: leds: led-class: Fix incorrectly documented param 'dev' X-Git-Tag: accepted/tizen/unified/20230118.172025~6910^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a3a871b4baa4fe983038a3a64c05a55ce640797;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: John Lenz Cc: Richard Purdie Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Pavel Machek --- diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 2e495ff..16271a1 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,