LED Camera Flash/Torch Trigger

modulename: ledtrig-camera.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>LED Trigger support
└─>LED Camera Flash/Torch Trigger
In linux kernel since version 3.1 (release Date: 2011-10-24)  
This allows LEDs to be controlled as a camera flash/torch device.
This enables direct flash/torch on/off by the driver, kernel space.
If unsure, say Y.

source code: