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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux