[PATCH v2 0/3] leds: replace macros with inline functions andsupport camera LED triggers

From: Kim, Milo
Date: Thu Mar 14 2013 - 07:29:22 EST


Patch v2
(1) LED trigger macros are replaced with inline function in case of
!CONFIG_LED_TRIGGERS and !CONFIG_LEDS_TRIGGER_IDE_DISK.
(2) Use an inline function when CONFIG_LEDS_TRIGGER_CAMERA is not configured.

Patch v1
Initial patch

Milo(Woogyom) Kim (3):
leds: trigger: use inline functions instead of macros
leds: add camera LED triggers
leds: lm355x, lm3642: support camera LED triggers for flash and torch

drivers/leds/leds-lm355x.c | 2 ++
drivers/leds/leds-lm3642.c | 2 ++
drivers/leds/trigger/Kconfig | 8 +++++
drivers/leds/trigger/Makefile | 1 +
drivers/leds/trigger/ledtrig-camera.c | 57 +++++++++++++++++++++++++++++++++
include/linux/leds.h | 33 ++++++++++++-------
include/linux/mmc/host.h | 2 --
7 files changed, 92 insertions(+), 13 deletions(-)
create mode 100644 drivers/leds/trigger/ledtrig-camera.c

--
1.7.9.5


Best Regards,
Milo


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/