Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946138AbbGQIuR (ORCPT ); Fri, 17 Jul 2015 04:50:17 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:45294 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946119AbbGQIuM (ORCPT ); Fri, 17 Jul 2015 04:50:12 -0400 X-AuditID: cbfee61b-f79416d0000014c0-8b-55a8c1c36d2a From: Jacek Anaszewski To: linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, cooloney@gmail.com, rpurdie@rpsys.net, stsp@users.sourceforge.net, Jacek Anaszewski , Phil Sutter Subject: [PATCH/RFC 49/51] leds: rb532: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:35 +0200 Message-id: <1437122857-6765-50-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1437122857-6765-1-git-send-email-j.anaszewski@samsung.com> References: <1437122857-6765-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGLMWRmVeSWpSXmKPExsVy+t9jAd3DB1eEGqx5x2FxdOdEJoveq88Z LS7vmsNmsfXNOkaLd+9+s1js3vWU1aKzbxqLA7vH10+v2D12zrrL7rFn/g9Wj74tqxg9mk61 s3p83iQXwBbFZZOSmpNZllqkb5fAlTHnWDdjwWnWiqUHX7I0MF5h6WLk5JAQMJGY2dnKCmGL SVy4t56ti5GLQ0hgEaNE556r7BDOT0aJPXd2MIJUsQkYSvx88Zqpi5GDQ0RATmLnmUoQk1lg C6PE/FCQCmEBS4kLDf/YQWwWAVWJ07O6wGxeAQ+JeVPegnVKCChIzJlkAxLmBAq/f7AS7Bwh AXeJtj8X2SYw8i5gZFjFKJpakFxQnJSea6RXnJhbXJqXrpecn7uJERxaz6R3MK5qsDjEKMDB qMTD2+C6IlSINbGsuDL3EKMEB7OSCG/lTqAQb0piZVVqUX58UWlOavEhRmkOFiVx3pP5PqFC AumJJanZqakFqUUwWSYOTqkGxm36f2/WTbVrWnnn/haOGwXyDktN5RUV5r3v9ZkxqVb5a/MD iRrRpIpMDl2n726y10XP3Fwi+vHsU9EDnFtD9p/TYAgt1rmr1/F2n1rNhA3v86TOuhhcmWmR ar8mfPE/jaPxC1f4CK499vd+lEHOwbi55utuGa3dMqM3f91GWWWOWNWWauWsHUosxRmJhlrM RcWJADawxWQpAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 29 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Phil Sutter --- drivers/leds/leds-rb532.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c index fcd1215b..e825006 100644 --- a/drivers/leds/leds-rb532.c +++ b/drivers/leds/leds-rb532.c @@ -35,6 +35,7 @@ static struct led_classdev rb532_uled = { .brightness_set = rb532_led_set, .brightness_get = rb532_led_get, .default_trigger = "nand-disk", + .flags = LED_BRIGHTNESS_FAST, }; static int rb532_led_probe(struct platform_device *pdev) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/