V4L/DVB (12535): soc-camera: remove .init() and .release() methods from struct soc_camera_ops
Remove unneeded soc-camera operations, this also makes the soc-camera API to v4l2 subdevices thinner. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
6a6c878672
commit
a4c56fd889
@@ -191,12 +191,8 @@ struct soc_camera_format_xlate {
|
||||
struct soc_camera_ops {
|
||||
int (*suspend)(struct soc_camera_device *, pm_message_t state);
|
||||
int (*resume)(struct soc_camera_device *);
|
||||
int (*init)(struct soc_camera_device *);
|
||||
int (*release)(struct soc_camera_device *);
|
||||
unsigned long (*query_bus_param)(struct soc_camera_device *);
|
||||
int (*set_bus_param)(struct soc_camera_device *, unsigned long);
|
||||
int (*get_chip_id)(struct soc_camera_device *,
|
||||
struct v4l2_dbg_chip_ident *);
|
||||
int (*enum_input)(struct soc_camera_device *, struct v4l2_input *);
|
||||
const struct v4l2_queryctrl *controls;
|
||||
int num_controls;
|
||||
|
Reference in New Issue
Block a user