leds: core: add helpers for calling brightness_set(_blocking)
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 16 Feb 2016 19:21:56 +0000 (20:21 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 14 Mar 2016 08:22:21 +0000 (09:22 +0100)
commitd4887af9c2b6ab550516f14106133a1e436c0712
treefcc8c8b880b0413082212a37a3738b4ef3b78510
parent2d88a331e48095cf60ad9bdf3177bd401bf99727
leds: core: add helpers for calling brightness_set(_blocking)

Add helpers for calling brightness_set(_blocking) allowing to
simplify the code and make it better readable.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/led-core.c