projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f902d
)
V4L/DVB (13477): v4l2-subdev: remove unnecessary check
author
Hans Verkuil
<hverkuil@xs4all.nl>
Tue, 9 Jun 2009 20:34:01 +0000
(17:34 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:05 +0000
(18:42 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-subdev.h
patch
|
blob
|
history
diff --git
a/include/media/v4l2-subdev.h
b/include/media/v4l2-subdev.h
index
88c13d6
..
00bf176
100644
(file)
--- a/
include/media/v4l2-subdev.h
+++ b/
include/media/v4l2-subdev.h
@@
-385,7
+385,7
@@
static inline void v4l2_subdev_init(struct v4l2_subdev *sd,
Example: err = v4l2_subdev_call(sd, core, g_chip_ident, &chip);
*/
#define v4l2_subdev_call(sd, o, f, args...) \
- (!(sd) ? -ENODEV : (((sd)
&& (sd)
->ops->o && (sd)->ops->o->f) ? \
+ (!(sd) ? -ENODEV : (((sd)->ops->o && (sd)->ops->o->f) ? \
(sd)->ops->o->f((sd) , ##args) : -ENOIOCTLCMD))
/* Send a notification to v4l2_device. */