Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946089AbbGQI43 (ORCPT ); Fri, 17 Jul 2015 04:56:29 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:41445 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946018AbbGQIti (ORCPT ); Fri, 17 Jul 2015 04:49:38 -0400 X-AuditID: cbfee61a-f79516d000006302-3f-55a8c1a0f682 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 , "Sebastian A. Siewior" Subject: [PATCH/RFC 37/51] leds: ot200: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:23 +0200 Message-id: <1437122857-6765-38-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+t9jAd2FB1eEGhzaw2Yx7eIkZoujOycy WfRefc5ocXnXHDaLrW/WMVrs3vWU1aKzbxqLA7vHzll32T3enTvH7rFn/g9Wj74tqxg9mk61 s3p83iQXwBbFZZOSmpNZllqkb5fAlbHs2Frmgr+sFd9+bWdtYGxk7WLk5JAQMJHo//mRHcIW k7hwbz0biC0ksIhR4t+VyC5GLiD7J6NE/4UpLCAJNgFDiZ8vXjN1MXJwiAjISew8UwlSwyxw hFFiVetXsLiwgKXE1rsOIOUsAqoS697MA5vPK+AhMfHMGVaQEgkBBYk5k2xAwpxA4fcPVrJA rHWXaPtzkW0CI+8CRoZVjKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmbGMGh9UxqB+PKBotDjAIc jEo8vA2uK0KFWBPLiitzDzFKcDArifBW7gQK8aYkVlalFuXHF5XmpBYfYpTmYFES5z2Z7xMq JJCeWJKanZpakFoEk2Xi4JRqYDzSVSGv/TCb+QPzkVeBFdmXREVXzVUVW9UVoDO1/5GrQt/a +ribbHfaZnLvU/35buuq93t5JL5d7d80hTlI4tjGqS0R7hH7dRPCbda+TbUslTs6X/zSh+W7 0i0ztv0NOmM/2ex9I2PfTeklzs+D2Cdc4spmudFsc31lpEli/XYP+xv/n/3rjFBiKc5INNRi LipOBAB78DOwKQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 29 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Sebastian A. Siewior --- drivers/leds/leds-ot200.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-ot200.c b/drivers/leds/leds-ot200.c index 39870de..d357c14 100644 --- a/drivers/leds/leds-ot200.c +++ b/drivers/leds/leds-ot200.c @@ -123,6 +123,7 @@ static int ot200_led_probe(struct platform_device *pdev) leds[i].cdev.name = leds[i].name; leds[i].cdev.brightness_set = ot200_led_brightness_set; + leds[i].cdev.flags |= LED_BRIGHTNESS_FAST; ret = led_classdev_register(&pdev->dev, &leds[i].cdev); if (ret < 0) -- 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/