diff options
author | Joe Perches <joe@perches.com> | 2017-09-22 15:20:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-08 10:10:15 -0500 |
commit | 37d5efb01910752d8d3846a2c4db0528c1dfa137 (patch) | |
tree | f47a9f8305b6de30b9be179f93f21b8d7ca962e8 /drivers/media/usb/gspca/finepix.c | |
parent | 52173c5f3f6476eb9100691ec47b10d6740eed4a (diff) |
media: gspca: Convert PDEBUG to gspca_dbg
Use a more typical logging style.
The current macro hides the gspca_dev argument so add it to the
macro uses instead.
Miscellanea:
o Add missing '\n' terminations to formats
o Realign arguments to open parenthesis
o Remove commented out uses of PDEBUG
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/gspca/finepix.c')
-rw-r--r-- | drivers/media/usb/gspca/finepix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/gspca/finepix.c b/drivers/media/usb/gspca/finepix.c index 7bb469aa61a7..1ef1239eb3db 100644 --- a/drivers/media/usb/gspca/finepix.c +++ b/drivers/media/usb/gspca/finepix.c | |||
@@ -89,7 +89,7 @@ static void dostream(struct work_struct *work) | |||
89 | int ret = 0; | 89 | int ret = 0; |
90 | int len; | 90 | int len; |
91 | 91 | ||
92 | PDEBUG(D_STREAM, "dostream started"); | 92 | gspca_dbg(gspca_dev, D_STREAM, "dostream started\n"); |
93 | 93 | ||
94 | /* loop reading a frame */ | 94 | /* loop reading a frame */ |
95 | again: | 95 | again: |
@@ -160,7 +160,7 @@ again: | |||
160 | } | 160 | } |
161 | 161 | ||
162 | out: | 162 | out: |
163 | PDEBUG(D_STREAM, "dostream stopped"); | 163 | gspca_dbg(gspca_dev, D_STREAM, "dostream stopped\n"); |
164 | } | 164 | } |
165 | 165 | ||
166 | /* this function is called at probe time */ | 166 | /* this function is called at probe time */ |