]> git.baikalelectronics.ru Git - kernel.git/commit
media: i2c: ov2659: Fix an error message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 5 May 2021 20:17:17 +0000 (22:17 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 10:04:09 +0000 (12:04 +0200)
commit92d9de07b1242c312c06e80185e6b2bca3330ab1
tree5877d407fcc1ef229abf6c844ee8172ae46e2a6b
parentcd6faa1c358e4041bf95bbb8132543fe6639bd00
media: i2c: ov2659: Fix an error message

'ret' is known to be 0 here and printing -ENODEV wouldn't be really
helpful. So remove it from the error message.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov2659.c