[media] v4l: subdev: Don't require core operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 31 May 2010 08:33:06 +0000 (05:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:42 +0000 (20:32 -0300)
commit0070d91e5b5ae594116202ab7d62d8264830b1cd
treeef29e29a06285996136aa91198e133b3d6ede481
parentfc0a80798576f80ca10b3f6c9c7097f12fd1d64e
[media] v4l: subdev: Don't require core operations

There's no reason to require subdevices to implement the core
operations. Remove the check for non-NULL core operations when
initializing the subdev.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-subdev.h