2013-03-14 11:29:19

by Kim, Milo

[permalink] [raw]
Subject: [PATCH v2 0/3] leds: replace macros with inline functions and support camera LED triggers

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


2013-03-14 16:57:53

by Bryan Wu

[permalink] [raw]
Subject: Re: [PATCH v2 0/3] leds: replace macros with inline functions and support camera LED triggers

On Thu, Mar 14, 2013 at 4:29 AM, Kim, Milo <[email protected]> wrote:
> 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
>

Thanks Milo, I merged these 3 patches!

-Bryan

> 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
>
>