aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-08-21 18:56:57 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-04 10:06:05 -0400
commit133a9fe949862d9ed8411fb423739f4cee08232d (patch)
tree4a465a6823412503b73ef0462e3ffad3415fab39 /drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c
parent42f4e774a30d0e9894741b62af4174c73ecc53da (diff)
[media] gspca: Use current logging styles
Add pr_fmt. Convert usb style logging macros to pr_<level>. Remove now unused old usb style logging macros. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c')
-rw-r--r--drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c b/drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c
index 75a5b9c2f15f..26f14fc4a135 100644
--- a/drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c
+++ b/drivers/media/video/gspca/stv06xx/stv06xx_pb0100.c
@@ -44,6 +44,8 @@
44 * PB_CFILLIN = R5 = 0x0E (14 dec) : Sets the frame rate 44 * PB_CFILLIN = R5 = 0x0E (14 dec) : Sets the frame rate
45 */ 45 */
46 46
47#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
48
47#include "stv06xx_pb0100.h" 49#include "stv06xx_pb0100.h"
48 50
49static const struct ctrl pb0100_ctrl[] = { 51static const struct ctrl pb0100_ctrl[] = {
@@ -190,7 +192,7 @@ static int pb0100_probe(struct sd *sd)
190 if (!sensor_settings) 192 if (!sensor_settings)
191 return -ENOMEM; 193 return -ENOMEM;
192 194
193 info("Photobit pb0100 sensor detected"); 195 pr_info("Photobit pb0100 sensor detected\n");
194 196
195 sd->gspca_dev.cam.cam_mode = pb0100_mode; 197 sd->gspca_dev.cam.cam_mode = pb0100_mode;
196 sd->gspca_dev.cam.nmodes = ARRAY_SIZE(pb0100_mode); 198 sd->gspca_dev.cam.nmodes = ARRAY_SIZE(pb0100_mode);