Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: i2c: ov08x40: Make remove callback return void

In commit ed5c2f5fd10d ("i2c: Make remove callback return void") drivers
were updated to remove the return value of the remove callback, and
return void.

The OV08x40 was added after this commit but was not compile tested at
the time due to a KConfig issue, and this warning was missed.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 38fc5136ac16 ("media: i2c: Add ov08x40 image sensor driver")
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Kieran Bingham and committed by
Mauro Carvalho Chehab
f54f5fd0 483af3fe

+1 -3
+1 -3
drivers/media/i2c/ov08x40.c
··· 3281 3281 return ret; 3282 3282 } 3283 3283 3284 - static int ov08x40_remove(struct i2c_client *client) 3284 + static void ov08x40_remove(struct i2c_client *client) 3285 3285 { 3286 3286 struct v4l2_subdev *sd = i2c_get_clientdata(client); 3287 3287 struct ov08x40 *ov08x = to_ov08x40(sd); ··· 3292 3292 3293 3293 pm_runtime_disable(&client->dev); 3294 3294 pm_runtime_set_suspended(&client->dev); 3295 - 3296 - return 0; 3297 3295 } 3298 3296 3299 3297 static const struct dev_pm_ops ov08x40_pm_ops = {