summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/adv7180.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-07 17:14:30 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 14:25:05 +0100
commit7933c177fa5235f250203ccfe9d8402b11129144 (patch)
tree1c3fd276e4cf00a9285d3b65a6df4c54082443ab /drivers/media/i2c/adv7180.c
parent[media] adv7180: Remove unnecessary v4l2_device_unregister_subdev() from prob... (diff)
downloadlinux-7933c177fa5235f250203ccfe9d8402b11129144.tar.xz
linux-7933c177fa5235f250203ccfe9d8402b11129144.zip
[media] adv7180: Remove duplicated probe error message
The device driver core already prints out a very similar message when a driver fails to probe. No need to print one in the driver itself. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/adv7180.c')
-rw-r--r--drivers/media/i2c/adv7180.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 85cb4e9f7847..98a3ff1f535d 100644
--- a/drivers/media/i2c/adv7180.c
+++ b/drivers/media/i2c/adv7180.c
@@ -618,7 +618,6 @@ err_free_ctrl:
err_unreg_subdev:
mutex_destroy(&state->mutex);
err:
- printk(KERN_ERR KBUILD_MODNAME ": Failed to probe: %d\n", ret);
return ret;
}