media: i2c/mt9v032: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:41:29 +0000 (23:41 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 07:33:18 +0000 (08:33 +0100)
commit78c57c16b533005f611585c62d9bf846349ff466
treec0c02c36ecb88b7bd86c46fc6c274561a6c44e4e
parent6ed661f176a8eca1e528263f7c8a8ddb9e4d632e
media: i2c/mt9v032: Convert to i2c's .probe_new()

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/mt9v032.c