aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-11-11 12:40:52 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-01-03 16:19:30 +0100
commitc376d66515f89dd833b344c419e313db9ad169b5 (patch)
tree11c5ef8f1790626e417c9b80b3e8b0f9f3bb885b /drivers/media/rc
parentmedia: vp7045: do not read uninitialized values if usb transfer fails (diff)
downloadwireguard-linux-c376d66515f89dd833b344c419e313db9ad169b5.tar.xz
wireguard-linux-c376d66515f89dd833b344c419e313db9ad169b5.zip
media: cxusb: use dev_dbg() rather than hand-rolled debug
This solves the following compiler warnings: drivers/media/usb/dvb-usb/cxusb.c: In function ‘cxusb_gpio_tuner’: drivers/media/usb/dvb-usb/cxusb.c:128:35: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 128 | deb_info("gpio_write failed.\n"); | ^ drivers/media/usb/dvb-usb/cxusb.c: In function ‘cxusb_bluebird_gpio_rw’: drivers/media/usb/dvb-usb/cxusb.c:145:44: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 145 | deb_info("bluebird_gpio_write failed.\n"); | ^ drivers/media/usb/dvb-usb/cxusb.c: In function ‘cxusb_i2c_xfer’: drivers/media/usb/dvb-usb/cxusb.c:251:42: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 251 | deb_i2c("i2c read may have failed\n"); | ^ drivers/media/usb/dvb-usb/cxusb.c:274:43: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 274 | deb_i2c("i2c write may have failed\n"); | ^ Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/rc')
0 files changed, 0 insertions, 0 deletions