]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] adv7180: Remove duplicated probe error message
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 7 Mar 2014 16:14:30 +0000 (13:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 13:25:05 +0000 (10:25 -0300)
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>
drivers/media/i2c/adv7180.c

index 85cb4e9f7847c1bbaae44e04df8c4f711dcb7b3c..98a3ff1f535df3a6684d2c9b6b77a1f0f60ca363 100644 (file)
@@ -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;
 }