Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946002AbbGQIta (ORCPT ); Fri, 17 Jul 2015 04:49:30 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:56402 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945984AbbGQIt0 (ORCPT ); Fri, 17 Jul 2015 04:49:26 -0400 X-AuditID: cbfee61a-f79516d000006302-27-55a8c19431d8 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 Subject: [PATCH/RFC 33/51] leds: cobalt-raq: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:19 +0200 Message-id: <1437122857-6765-34-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+NgFuplluLIzCtJLcpLzFFi42I5/e+xgO6UgytCDWY9Mbc4unMik0Xv1eeM Fpd3zWGz2PpmHaPF7l1PWS06+6axOLB57Jx1l91jz/wfrB59W1YxejSdamf1+LxJLoA1issm JTUnsyy1SN8ugSuj88E1xoKf7BVt+1axNzBeZOti5OCQEDCR6NlZ3MXICWSKSVy4tx4ozMUh JLCIUaJn4gEWCOcno0R/1yE2kCo2AUOJny9eM4E0iwjISew8UwlSwywwiVFi7uarzCA1wgJ2 Er+fb2UFsVkEVCXeLv8L1ssr4CEx8d06RojFChJzJtmAhDmBwu8frGQBsYUE3CXa/lxkm8DI u4CRYRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcCA9k9rBuLLB4hCjAAejEg9vg+uKUCHW xLLiytxDjBIczEoivJU7gUK8KYmVValF+fFFpTmpxYcYpTlYlMR5T+b7hAoJpCeWpGanphak FsFkmTg4pRoYp5WwLg450P6sarZeZ9Pyzbf/ZD8RNvsfpO4qH2MayNP7NMzg2A3x0r9vnN+I LZr1PPpKk4qxzRefha0Wt3wl7p11/rPYRC+ybWZ12OcTC76tmqA0UaI3+1P0jxMvMrMC9gcc f280JSR47YGDU5qubzI3deXan/r9l/MRhbmOVkEbd/grCx57qcRSnJFoqMVcVJwIALsCIRkg AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 36 The driver neither sleeps nor uses delays in its brightness_set ops. Mark it fast then. Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-cobalt-raq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c index b316df4..c46b856 100644 --- a/drivers/leds/leds-cobalt-raq.c +++ b/drivers/leds/leds-cobalt-raq.c @@ -52,6 +52,7 @@ static void raq_web_led_set(struct led_classdev *led_cdev, static struct led_classdev raq_web_led = { .name = "raq::web", .brightness_set = raq_web_led_set, + .flags = LED_BRIGHTNESS_FAST, }; static void raq_power_off_led_set(struct led_classdev *led_cdev, @@ -74,6 +75,7 @@ static struct led_classdev raq_power_off_led = { .name = "raq::power-off", .brightness_set = raq_power_off_led_set, .default_trigger = "power-off", + .flags = LED_BRIGHTNESS_FAST, }; static int cobalt_raq_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/