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>
Este commit está contenido en:
Joe Perches
2017-09-22 14:33:35 -04:00
cometido por Mauro Carvalho Chehab
padre 6e298d5847
commit 52173c5f3f
Se han modificado 32 ficheros con 174 adiciones y 156 borrados

Ver fichero

@@ -1309,7 +1309,8 @@ static int ssi_w(struct gspca_dev *gspca_dev,
if (gspca_dev->usb_buf[0] == 0)
break;
if (--retry <= 0) {
PERR("ssi_w busy %02x", gspca_dev->usb_buf[0]);
gspca_err(gspca_dev, "ssi_w busy %02x\n",
gspca_dev->usb_buf[0]);
ret = -1;
break;
}