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>
Šī revīzija ir iekļauta:
Joe Perches
2017-09-22 14:33:35 -04:00
revīziju iesūtīja Mauro Carvalho Chehab
vecāks 6e298d5847
revīzija 52173c5f3f
32 mainīti faili ar 174 papildinājumiem un 156 dzēšanām

Parādīt failu

@@ -728,7 +728,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
/* This should never happen */
if (len < 2) {
PERR("Short SOF packet, ignoring");
gspca_err(gspca_dev, "Short SOF packet, ignoring\n");
gspca_dev->last_packet_type = DISCARD_PACKET;
return;
}