Re: [PATCH v8 1/8] media: Add registration helpers for V4L2 flash sub-devices

2015-05-20 Thread Sakari Ailus
Hi Jacek, On Wed, May 20, 2015 at 04:10:08PM +0200, Jacek Anaszewski wrote: ... > +struct v4l2_flash *v4l2_flash_init( > + struct device *dev, struct device_node *of_node, > + struct led_classdev_flash *fled_cdev, const struct v4l2_flash_ops *ops, > + struct v4l2_flash_config *config)

[PATCH v8 1/8] media: Add registration helpers for V4L2 flash sub-devices

2015-05-20 Thread Jacek Anaszewski
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