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

usb: isp1301-omap: Convert to i2c's .probe_new()

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221118224540.619276-576-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Uwe Kleine-König and committed by
Greg Kroah-Hartman
c3ed6965 9f7cc307

+2 -2
+2 -2
drivers/usb/phy/phy-isp1301-omap.c
··· 1471 1471 /*-------------------------------------------------------------------------*/ 1472 1472 1473 1473 static int 1474 - isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id) 1474 + isp1301_probe(struct i2c_client *i2c) 1475 1475 { 1476 1476 int status; 1477 1477 struct isp1301 *isp; ··· 1616 1616 .driver = { 1617 1617 .name = "isp1301_omap", 1618 1618 }, 1619 - .probe = isp1301_probe, 1619 + .probe_new = isp1301_probe, 1620 1620 .remove = isp1301_remove, 1621 1621 .id_table = isp1301_id, 1622 1622 };