mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
staging: davinci_vpfe: Change to !format
Change from if(format==NULL) to if(!format) to remove checkpatch warning Signed-off-by: Irenge Jules Bashizi <jbi.octave@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4da110919
commit
0ffcadecdb
1 changed files with 1 additions and 1 deletions
|
|
@ -1466,7 +1466,7 @@ ipipe_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
|
|||
struct v4l2_mbus_framefmt *format;
|
||||
|
||||
format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which);
|
||||
if (format == NULL)
|
||||
if (!format)
|
||||
return -EINVAL;
|
||||
|
||||
ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which);
|
||||
|
|
|
|||
Loading…
Reference in a new issue