projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a0b14
)
media: dw9714: Remove useless error message
author
Sakari Ailus
<
[email protected]
>
Fri, 5 Oct 2018 21:19:38 +0000
(17:19 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 8 Oct 2018 15:51:05 +0000
(11:51 -0400)
If probe fails, the kernel will print the error code. There's no need to
driver to do that.
Signed-off-by: Sakari Ailus <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/dw9714.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/dw9714.c
b/drivers/media/i2c/dw9714.c
index 3dc2100470a1cdf5ecb5c2c1115c921d10be09b8..26d83693a6816fe0ad8d8aa8289f9f427a427046 100644
(file)
--- 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;
}