Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1240579

Re: [PATCH 3/5] leds: Rename brightness_set_sync op to brightness_set_blocking

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] leds: Rename brightness_set_sync op to brightness_set_blocking
Date 2015-10-06 17:40 +0200
Message-ID <qgCvo-1OO-23@gated-at.bofh.it> (permalink)
References <q9irL-226-3@gated-at.bofh.it> <q9irM-226-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 2015-09-16 12:47:42, Jacek Anaszewski wrote:
> The initial purpose of brightness_set_sync op, introduced along with
> the LED flash class extension, was to add a means for setting torch LED
> brightness as soon as possible, which couldn't have been guaranteed by
> brightness_set op. This patch renames the op to brightness_set_blocking,
> which describes its purpose in a more generic way, and is beneficial
> in view of the prospective changes in the core related to using
> LED core's set_brightness_work for setting brightness for LED class
> drivers that can sleep or use delays while setting brightness.
> 
> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>

Acked-by: Pavel Machek <pavel@ucw.cz>
--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/5] leds: Rename brightness_set_sync op to  brightness_set_blocking Pavel Machek <pavel@ucw.cz> - 2015-10-06 17:40 +0200

csiph-web