lkml.org 
[lkml]   [2013]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] leds: replace macros with inline functions and support camera LED triggers
Date
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




\
 
 \ /
  Last update: 2013-03-14 13:01    [W:0.070 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site