From patchwork Sat Feb 18 17:21:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 654843 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6C2AC61DA4 for ; Sat, 18 Feb 2023 17:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbjBRRVc (ORCPT ); Sat, 18 Feb 2023 12:21:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjBRRVc (ORCPT ); Sat, 18 Feb 2023 12:21:32 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FB2615C9B; Sat, 18 Feb 2023 09:21:29 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676740887; bh=YtT+lMTprYjd+HAo5VfFtrPuqbrUQqfuKSGmUVN8Llw=; h=From:Date:Subject:To:Cc:From; b=UgJ8QKg6u3AFxZSoFgjtSWEO9UGGA422hnwTMHeQm484cu4MT3yKV40wery0LKgIQ u9G9twcGI8w2hF9v+2+DHlaHctZ4zMzwZA2KY6K7jMRs0bTQBRyRLCRV41xN9/y3Yy UNZ4+YOGWTbxOyFB7e7MUSc5CE0rmZZSWeipEJOs= Date: Sat, 18 Feb 2023 17:21:21 +0000 Subject: [PATCH] leds: Fix reference to led_set_brightness() in doc MIME-Version: 1.0 Message-Id: <20230218-typo-led-set-v1-1-3c35362a2f2d@weissschuh.net> X-B4-Tracking: v=1; b=H4sIABEJ8WMC/x2NwQqDMBAFf0X23IUkQrH9ldJDoi+6EKJkbWkR/ 71LjzMwzEGKJlC6dwc1vEVlrQb+0tG4xDqDZTKm4ELvgh94/24rF0ys2Nn1yLfs0zX7SJakqOD UYh0Xi+qrFJNbQ5bP//F4nucPX5FG+3MAAAA= To: Pavel Machek , Lee Jones , Johannes Berg , Richard Purdie , Andrew Morton Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thom?= =?utf-8?q?as_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676740883; l=1026; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=YtT+lMTprYjd+HAo5VfFtrPuqbrUQqfuKSGmUVN8Llw=; b=eVROg0imnbioVb9UiQzTtHu5jFZlB+qu/YHlR/xuvi4TUdXUAuaQjWVcDTWMzQ2VPOPJFxvDe PoyFKDTp/YTBktSEix5HNFImgBTDUmrJjhiRlw5b/S4qTzIEK29MdqY X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org The referenced function led_classdev_brightness_set() never existed. Fixes: 5ada28bf7675 ("led-class: always implement blinking") Signed-off-by: Thomas Weißschuh --- include/linux/leds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 38f8ccde04a3fa317b51b05e63c3cb57e1641931 change-id: 20230218-typo-led-set-03ef9f1b6f1a Best regards, diff --git a/include/linux/leds.h b/include/linux/leds.h index ba4861ec73d3..228acdb52fe2 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -229,7 +229,7 @@ struct led_classdev *__must_check devm_of_led_get(struct device *dev, * * Note that if software blinking is active, simply calling * led_cdev->brightness_set() will not stop the blinking, - * use led_classdev_brightness_set() instead. + * use led_set_brightness() instead. */ void led_blink_set(struct led_classdev *led_cdev, unsigned long *delay_on, unsigned long *delay_off);