linux/drivers/staging/media
Arnd Bergmann 72d2b01e84 staging/atomisp: fix empty-body warning
Defining a debug function to nothing causes a warning with an empty block
after if()/else():

drivers/staging/media/atomisp/i2c/ov2680.c: In function 'ov2680_s_stream':
drivers/staging/media/atomisp/i2c/ov2680.c:1208:55: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]

This changes the empty debug statement to dev_dbg(), which by default also
does nothing, but avoids this warning and also checks the format string.
As a side-effect, we can now use dynamic debugging to turn on the
output at runtime.

Fixes: a49d25364d ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-21 08:04:33 +01:00
..
atomisp staging/atomisp: fix empty-body warning 2017-03-21 08:04:33 +01:00
bcm2048 Staging: media: bcm2048: Fixed coding style issue. 2017-02-12 13:55:28 -08:00
cxd2099 staging: cxd2099: Remove redundant code 2017-03-09 18:15:08 +01:00
davinci_vpfe Staging: media: davinci_vpfe - style fix 2017-03-14 06:03:50 +08:00
lirc Staging: media: lirc - style fix 2017-03-14 06:03:50 +08:00
omap4iss [media] v4l: omap4iss: Clean up file handle in open() and release() 2017-01-31 11:50:06 -02:00
s5p-cec [media] staging/media/s5p-cec/exynos_hdmi_cecctrl.c Fixed blank line before closing brace '}' 2017-01-30 15:48:54 -02:00
st-cec [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
Kconfig staging/atomisp: Add support for the Intel IPU v2 2017-03-06 09:39:54 +01:00
Makefile staging/atomisp: Add support for the Intel IPU v2 2017-03-06 09:39:54 +01:00