]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
media: stkwebcam: Use more common logging styles
authorJoe Perches <joe@perches.com>
Fri, 9 Jun 2017 17:54:57 +0000 (14:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 12:36:38 +0000 (09:36 -0300)
commitf1bd9bd69bf8ae96ada7e7f71415bb5f1db453cb
tree6299fbe139eedc3d7b98d989d0560b98a928b727
parent9b80f12e319198cef65076654ccaa4b2783a2fa1
media: stkwebcam: Use more common logging styles

Convert STK_<LEVEL> to pr_<level> to use the typical kernel logging.
Add a define for pr_fmt.  No change in logging output.

Miscellanea:

o Remove now unused PREFIX and STK_<LEVEL> macros
o Realign arguments
o Use pr_<level>_ratelimited
o Add a few missing newlines to formats

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/stkwebcam/stk-sensor.c
drivers/media/usb/stkwebcam/stk-webcam.c
drivers/media/usb/stkwebcam/stk-webcam.h