aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-flash-led-class.c
AgeCommit message (Collapse)AuthorFilesLines
2015-06-22media: Add registration helpers for V4L2 flash sub-devicesJacek Anaszewski1-0/+710
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used. Signed-off-by: Jacek Anaszewski <[email protected]> Acked-by: Kyungmin Park <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Hans Verkuil <[email protected]> Signed-off-by: Bryan Wu <[email protected]>