media: gspca: Convert PERR to gspca_err
Use a more typical kernel 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 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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

부모
6e298d5847
커밋
52173c5f3f
@@ -382,7 +382,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
|
||||
}
|
||||
|
||||
if (ret < 0) {
|
||||
PERR("Start streaming command failed");
|
||||
gspca_err(gspca_dev, "Start streaming command failed\n");
|
||||
return ret;
|
||||
}
|
||||
/* Start the workqueue function to do the streaming */
|
||||
|
Reference in New Issue
Block a user