diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-10-05 17:19:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-08 11:51:05 -0400 |
commit | 1c55ecab313321405b3cf8594df79f829f32dfaf (patch) | |
tree | 4de2d52cf2255d1ae93647ea312cca5cffd75170 /drivers/media/i2c | |
parent | f9a0b14240a2d0bd196d35e8aac73df6eabd6382 (diff) | |
download | linux-stable-1c55ecab313321405b3cf8594df79f829f32dfaf.tar.gz linux-stable-1c55ecab313321405b3cf8594df79f829f32dfaf.tar.bz2 linux-stable-1c55ecab313321405b3cf8594df79f829f32dfaf.zip |
media: dw9714: Remove useless error message
If probe fails, the kernel will print the error code. There's no need to
driver to do that.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/dw9714.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c index 3dc2100470a1..26d83693a681 100644 --- a/drivers/media/i2c/dw9714.c +++ b/drivers/media/i2c/dw9714.c @@ -171,7 +171,7 @@ static int dw9714_probe(struct i2c_client *client) err_cleanup: v4l2_ctrl_handler_free(&dw9714_dev->ctrls_vcm); media_entity_cleanup(&dw9714_dev->sd.entity); - dev_err(&client->dev, "Probe failed: %d\n", rval); + return rval; } |