Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946101AbbGQIuE (ORCPT ); Fri, 17 Jul 2015 04:50:04 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:49713 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946075AbbGQIt5 (ORCPT ); Fri, 17 Jul 2015 04:49:57 -0400 X-AuditID: cbfee61b-f79416d0000014c0-5e-55a8c1b4dd5e 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 , Florian Fainelli Subject: [PATCH/RFC 44/51] leds: cobalt-qube: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:30 +0200 Message-id: <1437122857-6765-45-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+NgFprOLMWRmVeSWpSXmKPExsVy+t9jAd0tB1eEGqxaqG5xdOdEJotv78+w WPRefc5ocXnXHDaLrW/WMVrs3vWU1aKzbxqLA7vHzll32T22LM7w2DP/B6tH35ZVjB5Np9pZ PT5vkgtgi+KySUnNySxLLdK3S+DKeH/2PVPBL9aK6/vvsTcwNrB2MXJySAiYSLzYcoQRwhaT uHBvPVsXIxeHkMAiRonrj98zQjg/GSVeTv7HDlLFJmAo8fPFa6YuRg4OEQE5iZ1nKkFqmAX2 MEpsfrAabKqwgL3EzF33wOpZBFQlHnWfYgGxeQU8JB49aWUF6ZUQUJCYM8kGJMwJFH7/YCVY iZCAu0Tbn4tsExh5FzAyrGIUTS1ILihOSs810itOzC0uzUvXS87P3cQIDq5n0jsYVzVYHGIU 4GBU4uFtcF0RKsSaWFZcmXuIUYKDWUmEt3InUIg3JbGyKrUoP76oNCe1+BCjNAeLkjjvyXyf UCGB9MSS1OzU1ILUIpgsEwenVAOjyN/qY3bT7rg+3hfwss4puiu3qs/n1jYDxYqVSex1Cz0m Gs+udffdL7rnqPynMkvTp8XTnlb+jrwVWfh9h9dbNvf6/7HT/eSKE25am2W84BKrjbUPXfex yX52nZoWy8fte99+nvovfsLd2KqSBz5rP8pzzXnu5fBod/h8tyLJRwUCYcd15d8psRRnJBpq MRcVJwIA01uWuCoCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 29 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Florian Fainelli --- drivers/leds/leds-cobalt-qube.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c index d975220..f16da2a 100644 --- a/drivers/leds/leds-cobalt-qube.c +++ b/drivers/leds/leds-cobalt-qube.c @@ -31,6 +31,7 @@ static struct led_classdev qube_front_led = { .brightness = LED_FULL, .brightness_set = qube_front_led_set, .default_trigger = "default-on", + .flags = LED_BRIGHTNESS_FAST, }; static int cobalt_qube_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/