]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: video/saa7134: change dprintk() to i2cdprintk()
authorDan Carpenter <error27@gmail.com>
Wed, 26 May 2010 14:58:10 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jun 2010 04:24:17 +0000 (01:24 -0300)
commit080df1c7998e8b86bc1b4d9be81a5410fe92c089
tree3e71bcc5368ba941e2640d7e006c32a242283650
parent5319a7e3885a50d03661fa9295fb51a9bd501f61
V4L/DVB: video/saa7134: change dprintk() to i2cdprintk()

The problem is that dprintk() dereferences "dev" which is null here.
The i2cdprintk() uses "ir" so that's OK.

Also Jean Delvare pointed out a typo in the comment so we may as well
fix that.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-input.c