forked from Minki/linux
72d2b01e84
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:
|
||
---|---|---|
.. | ||
atomisp | ||
bcm2048 | ||
cxd2099 | ||
davinci_vpfe | ||
lirc | ||
omap4iss | ||
s5p-cec | ||
st-cec | ||
Kconfig | ||
Makefile |