diff options
author | YAMANE Toshiaki <yamanetoshi@gmail.com> | 2012-11-06 08:34:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-21 18:53:25 -0200 |
commit | 34047bac17471d47989b96450b784f22eaf96223 (patch) | |
tree | e25b2a1ff26819c58f780788343940e9c8a69c2e /drivers/staging/media/go7007/go7007-v4l2.c | |
parent | b2704e1540b297c06efa96851949ed060bd0d2bb (diff) | |
download | op-kernel-dev-34047bac17471d47989b96450b784f22eaf96223.zip op-kernel-dev-34047bac17471d47989b96450b784f22eaf96223.tar.gz |
[media] Staging/media: Use dev_ printks in go7007/go7007-v4l2.c
fixed below checkpatch warning.
- WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...
Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/go7007/go7007-v4l2.c')
-rw-r--r-- | drivers/staging/media/go7007/go7007-v4l2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index a78133b..0d3713d 100644 --- a/drivers/staging/media/go7007/go7007-v4l2.c +++ b/drivers/staging/media/go7007/go7007-v4l2.c @@ -1811,8 +1811,8 @@ int go7007_v4l2_init(struct go7007 *go) } video_set_drvdata(go->video_dev, go); ++go->ref_count; - printk(KERN_INFO "%s: registered device %s [v4l2]\n", - go->video_dev->name, video_device_node_name(go->video_dev)); + dev_info(go->dev, "registered device %s [v4l2]\n", + video_device_node_name(go->video_dev)); return 0; } |