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

media: staging: max96712: Switch i2c driver back to use .probe()

After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Uwe Kleine-König and committed by
Mauro Carvalho Chehab
645dec33 962508e3

+1 -1
+1 -1
drivers/staging/media/max96712/max96712.c
··· 453 453 .name = "max96712", 454 454 .of_match_table = of_match_ptr(max96712_of_table), 455 455 }, 456 - .probe_new = max96712_probe, 456 + .probe = max96712_probe, 457 457 .remove = max96712_remove, 458 458 }; 459 459