drm: Switch i2c drivers back to use .probe()
Subsystems (15)
PATCH v2 1/1 drm: Switch i2c drivers 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 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.
---
Hello,
I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.
I also added more people to Cc, maybe that helps to get feedback.
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwe
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +1 -1
@@ -1393,7 +1393,7 @@ static struct i2c_driver adv7511_driver = { .of_match_table = adv7511_of_ids, }, .id_table = adv7511_i2c_ids, - .probe_new = adv7511_probe, + .probe = adv7511_probe, .remove = adv7511_remove, };
drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +1 -1
@@ -815,7 +815,7 @@ static struct i2c_driver anx6345_driver = { .name = "anx6345", .of_match_table = of_match_ptr(anx6345_match_table), }, - .probe_new = anx6345_i2c_probe, + .probe = anx6345_i2c_probe, .remove = anx6345_i2c_remove, .id_table = anx6345_id, };
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1 -1
@@ -1389,7 +1389,7 @@ static struct i2c_driver anx78xx_driver = { .name = "anx7814", .of_match_table = of_match_ptr(anx78xx_match_table), }, - .probe_new = anx78xx_i2c_probe, + .probe = anx78xx_i2c_probe, .remove = anx78xx_i2c_remove, .id_table = anx78xx_id, };
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -1
@@ -2753,7 +2753,7 @@ static struct i2c_driver anx7625_driver = { .of_match_table = anx_match_table, .pm = &anx7625_pm_ops, }, - .probe_new = anx7625_i2c_probe, + .probe = anx7625_i2c_probe, .remove = anx7625_i2c_remove, .id_table = anx7625_id,
drivers/gpu/drm/bridge/chipone-icn6211.c +1 -1
@@ -795,7 +795,7 @@ static struct i2c_device_id chipone_i2c_id[] = {MODULE_DEVICE_TABLE (i2c, chipone_i2c_id);static struct i2c_driver chipone_i2c_driver = { - .probe_new = chipone_i2c_probe, + .probe = chipone_i2c_probe, .id_table = chipone_i2c_id, .driver = { .name ="chipone-icn6211-i2c" ,
drivers/gpu/drm/bridge/chrontel-ch7033.c +1 -1
@@ -603,7 +603,7 @@ static const struct i2c_device_id ch7033_ids[] = {MODULE_DEVICE_TABLE (i2c, ch7033_ids);static struct i2c_driver ch7033_driver = { - .probe_new = ch7033_probe, + .probe = ch7033_probe, .remove = ch7033_remove, .driver = { .name ="ch7033" ,
drivers/gpu/drm/bridge/cros-ec-anx7688.c +1 -1
@@ -173,7 +173,7 @@ static const struct of_device_id cros_ec_anx7688_bridge_match_table[] = {MODULE_DEVICE_TABLE (of, cros_ec_anx7688_bridge_match_table);static struct i2c_driver cros_ec_anx7688_bridge_driver = { - .probe_new = cros_ec_anx7688_bridge_probe, + .probe = cros_ec_anx7688_bridge_probe, .remove = cros_ec_anx7688_bridge_remove, .driver = { .name ="cros-ec-anx7688-bridge" ,
drivers/gpu/drm/bridge/ite-it6505.c +1 -1
@@ -3478,7 +3478,7 @@ static struct i2c_driver it6505_i2c_driver = { .of_match_table = it6505_of_match, .pm = &it6505_bridge_pm_ops, }, - .probe_new = it6505_i2c_probe, + .probe = it6505_i2c_probe, .remove = it6505_i2c_remove, .shutdown = it6505_shutdown, .id_table = it6505_id,
drivers/gpu/drm/bridge/ite-it66121.c +1 -1
@@ -1640,7 +1640,7 @@ static struct i2c_driver it66121_driver = { .name = "it66121", .of_match_table = it66121_dt_match, }, - .probe_new = it66121_probe, + .probe = it66121_probe, .remove = it66121_remove, .id_table = it66121_id, };
drivers/gpu/drm/bridge/lontium-lt8912b.c +1 -1
@@ -773,7 +773,7 @@ static struct i2c_driver lt8912_i2c_driver = { .name = "lt8912", .of_match_table = lt8912_dt_match, }, - .probe_new = lt8912_probe, + .probe = lt8912_probe, .remove = lt8912_remove, .id_table = lt8912_id, };
drivers/gpu/drm/bridge/lontium-lt9211.c +1 -1
@@ -785,7 +785,7 @@ static const struct of_device_id lt9211_match_table[] = {MODULE_DEVICE_TABLE (of, lt9211_match_table);static struct i2c_driver lt9211_driver = { - .probe_new = lt9211_probe, + .probe = lt9211_probe, .remove = lt9211_remove, .id_table = lt9211_id, .driver = {
drivers/gpu/drm/bridge/lontium-lt9611.c +1 -1
@@ -1190,7 +1190,7 @@ static struct i2c_driver lt9611_driver = { .name = "lt9611", .of_match_table = lt9611_match_table, }, - .probe_new = lt9611_probe, + .probe = lt9611_probe, .remove = lt9611_remove, .id_table = lt9611_id, };
drivers/gpu/drm/bridge/lontium-lt9611uxc.c +1 -1
@@ -1011,7 +1011,7 @@ static struct i2c_driver lt9611uxc_driver = { .of_match_table = lt9611uxc_match_table, .dev_groups = lt9611uxc_attr_groups, }, - .probe_new = lt9611uxc_probe, + .probe = lt9611uxc_probe, .remove = lt9611uxc_remove, .id_table = lt9611uxc_id, };
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +2 -2
@@ -375,7 +375,7 @@ MODULE_DEVICE_TABLE(of, stdp4028_ge_b850v3_fw_match);static struct i2c_driver stdp4028_ge_b850v3_fw_driver = { .id_table = stdp4028_ge_b850v3_fw_i2c_table, - .probe_new = stdp4028_ge_b850v3_fw_probe, + .probe = stdp4028_ge_b850v3_fw_probe, .remove = stdp4028_ge_b850v3_fw_remove, .driver = { .name ="stdp4028-ge-b850v3-fw" ,
@@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, stdp2690_ge_b850v3_fw_match);static struct i2c_driver stdp2690_ge_b850v3_fw_driver = { .id_table = stdp2690_ge_b850v3_fw_i2c_table, - .probe_new = stdp2690_ge_b850v3_fw_probe, + .probe = stdp2690_ge_b850v3_fw_probe, .remove = stdp2690_ge_b850v3_fw_remove, .driver = { .name ="stdp2690-ge-b850v3-fw" ,
drivers/gpu/drm/bridge/nxp-ptn3460.c +1 -1
@@ -335,7 +335,7 @@ MODULE_DEVICE_TABLE(of, ptn3460_match);static struct i2c_driver ptn3460_driver = { .id_table = ptn3460_i2c_table, - .probe_new = ptn3460_probe, + .probe = ptn3460_probe, .remove = ptn3460_remove, .driver = { .name ="nxp,ptn3460" ,
drivers/gpu/drm/bridge/parade-ps8622.c +1 -1
@@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(i2c, ps8622_i2c_table);static struct i2c_driver ps8622_driver = { .id_table = ps8622_i2c_table, - .probe_new = ps8622_probe, + .probe = ps8622_probe, .remove = ps8622_remove, .driver = { .name ="ps8622" ,
drivers/gpu/drm/bridge/parade-ps8640.c +1 -1
@@ -791,7 +791,7 @@ static const struct of_device_id ps8640_match[] = {MODULE_DEVICE_TABLE (of, ps8640_match);static struct i2c_driver ps8640_driver = { - .probe_new = ps8640_probe, + .probe = ps8640_probe, .remove = ps8640_remove, .driver = { .name ="ps8640" ,
drivers/gpu/drm/bridge/sii902x.c +1 -1
@@ -1151,7 +1151,7 @@ static const struct i2c_device_id sii902x_i2c_ids[] = {MODULE_DEVICE_TABLE (i2c, sii902x_i2c_ids);static struct i2c_driver sii902x_driver = { - .probe_new = sii902x_probe, + .probe = sii902x_probe, .remove = sii902x_remove, .driver = { .name ="sii902x" ,
drivers/gpu/drm/bridge/sii9234.c +1 -1
@@ -955,7 +955,7 @@ static struct i2c_driver sii9234_driver = { .name = "sii9234", .of_match_table = sii9234_dt_match, }, - .probe_new = sii9234_probe, + .probe = sii9234_probe, .remove = sii9234_remove, .id_table = sii9234_id, };
drivers/gpu/drm/bridge/sil-sii8620.c +1 -1
@@ -2378,7 +2378,7 @@ static struct i2c_driver sii8620_driver = { .name = "sii8620", .of_match_table = of_match_ptr(sii8620_dt_match), }, - .probe_new = sii8620_probe, + .probe = sii8620_probe, .remove = sii8620_remove, .id_table = sii8620_id, };
drivers/gpu/drm/bridge/tc358767.c +1 -1
@@ -2209,7 +2209,7 @@ static struct i2c_driver tc358767_driver = { .of_match_table = tc358767_of_ids, }, .id_table = tc358767_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358767_driver);
drivers/gpu/drm/bridge/tc358768.c +1 -1
@@ -1083,7 +1083,7 @@ static struct i2c_driver tc358768_driver = { .of_match_table = tc358768_of_ids, }, .id_table = tc358768_i2c_ids, - .probe_new = tc358768_i2c_probe, + .probe = tc358768_i2c_probe, .remove = tc358768_i2c_remove, };module_i2c_driver (tc358768_driver);
drivers/gpu/drm/bridge/tc358775.c +1 -1
@@ -728,7 +728,7 @@ static struct i2c_driver tc358775_driver = { .of_match_table = tc358775_of_ids, }, .id_table = tc358775_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358775_driver);
drivers/gpu/drm/bridge/ti-dlpc3433.c +1 -1
@@ -400,7 +400,7 @@ static const struct of_device_id dlpc3433_match_table[] = {MODULE_DEVICE_TABLE (of, dlpc3433_match_table);static struct i2c_driver dlpc3433_driver = { - .probe_new = dlpc3433_probe, + .probe = dlpc3433_probe, .remove = dlpc3433_remove, .id_table = dlpc3433_id, .driver = {
drivers/gpu/drm/bridge/ti-sn65dsi83.c +1 -1
@@ -734,7 +734,7 @@ static const struct of_device_id sn65dsi83_match_table[] = {MODULE_DEVICE_TABLE (of, sn65dsi83_match_table);static struct i2c_driver sn65dsi83_driver = { - .probe_new = sn65dsi83_probe, + .probe = sn65dsi83_probe, .remove = sn65dsi83_remove, .id_table = sn65dsi83_id, .driver = {
drivers/gpu/drm/bridge/ti-sn65dsi86.c +1 -1
@@ -1951,7 +1951,7 @@ static struct i2c_driver ti_sn65dsi86_driver = { .of_match_table = ti_sn65dsi86_match_table, .pm = &ti_sn65dsi86_pm_ops, }, - .probe_new = ti_sn65dsi86_probe, + .probe = ti_sn65dsi86_probe, .id_table = ti_sn65dsi86_id, };
drivers/gpu/drm/bridge/ti-tfp410.c +1 -1
@@ -408,7 +408,7 @@ static struct i2c_driver tfp410_i2c_driver = { .of_match_table = of_match_ptr(tfp410_match), }, .id_table = tfp410_i2c_ids, - .probe_new = tfp410_i2c_probe, + .probe = tfp410_i2c_probe, .remove = tfp410_i2c_remove, };#endif /* IS_ENABLED(CONFIG_I2C) */
drivers/gpu/drm/i2c/tda9950.c +1 -1
@@ -492,7 +492,7 @@ static struct i2c_device_id tda9950_ids[] = {MODULE_DEVICE_TABLE (i2c, tda9950_ids);static struct i2c_driver tda9950_driver = { - .probe_new = tda9950_probe, + .probe = tda9950_probe, .remove = tda9950_remove, .driver = { .name ="tda9950" ,
drivers/gpu/drm/i2c/tda998x_drv.c +1 -1
@@ -2099,7 +2099,7 @@ static const struct i2c_device_id tda998x_ids[] = {MODULE_DEVICE_TABLE (i2c, tda998x_ids);static struct i2c_driver tda998x_driver = { - .probe_new = tda998x_probe, + .probe = tda998x_probe, .remove = tda998x_remove, .driver = { .name ="tda998x" ,
drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c +1 -1
@@ -308,7 +308,7 @@ static struct i2c_driver lcd_olinuxino_driver = { .name = "lcd_olinuxino", .of_match_table = lcd_olinuxino_of_ids, }, - .probe_new = lcd_olinuxino_probe, + .probe = lcd_olinuxino_probe, .remove = lcd_olinuxino_remove, };
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +1 -1
@@ -489,7 +489,7 @@ static struct i2c_driver rpi_touchscreen_driver = { .name = "rpi_touchscreen", .of_match_table = rpi_touchscreen_of_ids, }, - .probe_new = rpi_touchscreen_probe, + .probe = rpi_touchscreen_probe, .remove = rpi_touchscreen_remove, };
drivers/gpu/drm/solomon/ssd130x-i2c.c +1 -1
@@ -100,7 +100,7 @@ static struct i2c_driver ssd130x_i2c_driver = { .name = DRIVER_NAME, .of_match_table = ssd130x_of_match, }, - .probe_new = ssd130x_i2c_probe, + .probe = ssd130x_i2c_probe, .remove = ssd130x_i2c_remove, .shutdown = ssd130x_i2c_shutdown, };
base-commit: ac9a78681b921877518763ba0e89202254349d1b
Signature · 1 line
2.39.2
Quoting Uwe Kleine-König (2023-05-26 10:07:09)
Quoted 7 lines
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>
Quoted 8 lines
---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
Having been invovled in b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type") and definitley expected 'temporary' to mean less than 7 years, I very much approve of this patchset.
Thank you for all your efforts Uwe.
Quoted 470 lines
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwedrivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +1
-1@@ -1393,7 +1393,7 @@ static struct i2c_driver adv7511_driver = { .of_match_table = adv7511_of_ids, }, .id_table = adv7511_i2c_ids, - .probe_new = adv7511_probe, + .probe = adv7511_probe, .remove = adv7511_remove, };drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +1
-1@@ -815,7 +815,7 @@ static struct i2c_driver anx6345_driver = { .name = "anx6345", .of_match_table = of_match_ptr(anx6345_match_table), }, - .probe_new = anx6345_i2c_probe, + .probe = anx6345_i2c_probe, .remove = anx6345_i2c_remove, .id_table = anx6345_id, };drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1
-1@@ -1389,7 +1389,7 @@ static struct i2c_driver anx78xx_driver = { .name = "anx7814", .of_match_table = of_match_ptr(anx78xx_match_table), }, - .probe_new = anx78xx_i2c_probe, + .probe = anx78xx_i2c_probe, .remove = anx78xx_i2c_remove, .id_table = anx78xx_id, };drivers/gpu/drm/bridge/analogix/anx7625.c +1
-1@@ -2753,7 +2753,7 @@ static struct i2c_driver anx7625_driver = { .of_match_table = anx_match_table, .pm = &anx7625_pm_ops, }, - .probe_new = anx7625_i2c_probe, + .probe = anx7625_i2c_probe, .remove = anx7625_i2c_remove, .id_table = anx7625_id,drivers/gpu/drm/bridge/chipone-icn6211.c +1
-1@@ -795,7 +795,7 @@ static struct i2c_device_id chipone_i2c_id[] = {MODULE_DEVICE_TABLE (i2c, chipone_i2c_id);static struct i2c_driver chipone_i2c_driver = { - .probe_new = chipone_i2c_probe, + .probe = chipone_i2c_probe, .id_table = chipone_i2c_id, .driver = { .name ="chipone-icn6211-i2c" ,drivers/gpu/drm/bridge/chrontel-ch7033.c +1
-1@@ -603,7 +603,7 @@ static const struct i2c_device_id ch7033_ids[] = {MODULE_DEVICE_TABLE (i2c, ch7033_ids);static struct i2c_driver ch7033_driver = { - .probe_new = ch7033_probe, + .probe = ch7033_probe, .remove = ch7033_remove, .driver = { .name ="ch7033" ,drivers/gpu/drm/bridge/cros-ec-anx7688.c +1
-1@@ -173,7 +173,7 @@ static const struct of_device_id cros_ec_anx7688_bridge_match_table[] = {MODULE_DEVICE_TABLE (of, cros_ec_anx7688_bridge_match_table);static struct i2c_driver cros_ec_anx7688_bridge_driver = { - .probe_new = cros_ec_anx7688_bridge_probe, + .probe = cros_ec_anx7688_bridge_probe, .remove = cros_ec_anx7688_bridge_remove, .driver = { .name ="cros-ec-anx7688-bridge" ,drivers/gpu/drm/bridge/ite-it6505.c +1
-1@@ -3478,7 +3478,7 @@ static struct i2c_driver it6505_i2c_driver = { .of_match_table = it6505_of_match, .pm = &it6505_bridge_pm_ops, }, - .probe_new = it6505_i2c_probe, + .probe = it6505_i2c_probe, .remove = it6505_i2c_remove, .shutdown = it6505_shutdown, .id_table = it6505_id,drivers/gpu/drm/bridge/ite-it66121.c +1
-1@@ -1640,7 +1640,7 @@ static struct i2c_driver it66121_driver = { .name = "it66121", .of_match_table = it66121_dt_match, }, - .probe_new = it66121_probe, + .probe = it66121_probe, .remove = it66121_remove, .id_table = it66121_id, };drivers/gpu/drm/bridge/lontium-lt8912b.c +1
-1@@ -773,7 +773,7 @@ static struct i2c_driver lt8912_i2c_driver = { .name = "lt8912", .of_match_table = lt8912_dt_match, }, - .probe_new = lt8912_probe, + .probe = lt8912_probe, .remove = lt8912_remove, .id_table = lt8912_id, };drivers/gpu/drm/bridge/lontium-lt9211.c +1
-1@@ -785,7 +785,7 @@ static const struct of_device_id lt9211_match_table[] = {MODULE_DEVICE_TABLE (of, lt9211_match_table);static struct i2c_driver lt9211_driver = { - .probe_new = lt9211_probe, + .probe = lt9211_probe, .remove = lt9211_remove, .id_table = lt9211_id, .driver = {drivers/gpu/drm/bridge/lontium-lt9611.c +1
-1@@ -1190,7 +1190,7 @@ static struct i2c_driver lt9611_driver = { .name = "lt9611", .of_match_table = lt9611_match_table, }, - .probe_new = lt9611_probe, + .probe = lt9611_probe, .remove = lt9611_remove, .id_table = lt9611_id, };drivers/gpu/drm/bridge/lontium-lt9611uxc.c +1
-1@@ -1011,7 +1011,7 @@ static struct i2c_driver lt9611uxc_driver = { .of_match_table = lt9611uxc_match_table, .dev_groups = lt9611uxc_attr_groups, }, - .probe_new = lt9611uxc_probe, + .probe = lt9611uxc_probe, .remove = lt9611uxc_remove, .id_table = lt9611uxc_id, };drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +2
-2@@ -375,7 +375,7 @@ MODULE_DEVICE_TABLE(of, stdp4028_ge_b850v3_fw_match);static struct i2c_driver stdp4028_ge_b850v3_fw_driver = { .id_table = stdp4028_ge_b850v3_fw_i2c_table, - .probe_new = stdp4028_ge_b850v3_fw_probe, + .probe = stdp4028_ge_b850v3_fw_probe, .remove = stdp4028_ge_b850v3_fw_remove, .driver = { .name ="stdp4028-ge-b850v3-fw" ,@@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, stdp2690_ge_b850v3_fw_match);static struct i2c_driver stdp2690_ge_b850v3_fw_driver = { .id_table = stdp2690_ge_b850v3_fw_i2c_table, - .probe_new = stdp2690_ge_b850v3_fw_probe, + .probe = stdp2690_ge_b850v3_fw_probe, .remove = stdp2690_ge_b850v3_fw_remove, .driver = { .name ="stdp2690-ge-b850v3-fw" ,drivers/gpu/drm/bridge/nxp-ptn3460.c +1
-1@@ -335,7 +335,7 @@ MODULE_DEVICE_TABLE(of, ptn3460_match);static struct i2c_driver ptn3460_driver = { .id_table = ptn3460_i2c_table, - .probe_new = ptn3460_probe, + .probe = ptn3460_probe, .remove = ptn3460_remove, .driver = { .name ="nxp,ptn3460" ,drivers/gpu/drm/bridge/parade-ps8622.c +1
-1@@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(i2c, ps8622_i2c_table);static struct i2c_driver ps8622_driver = { .id_table = ps8622_i2c_table, - .probe_new = ps8622_probe, + .probe = ps8622_probe, .remove = ps8622_remove, .driver = { .name ="ps8622" ,drivers/gpu/drm/bridge/parade-ps8640.c +1
-1@@ -791,7 +791,7 @@ static const struct of_device_id ps8640_match[] = {MODULE_DEVICE_TABLE (of, ps8640_match);static struct i2c_driver ps8640_driver = { - .probe_new = ps8640_probe, + .probe = ps8640_probe, .remove = ps8640_remove, .driver = { .name ="ps8640" ,drivers/gpu/drm/bridge/sii902x.c +1
-1@@ -1151,7 +1151,7 @@ static const struct i2c_device_id sii902x_i2c_ids[] = {MODULE_DEVICE_TABLE (i2c, sii902x_i2c_ids);static struct i2c_driver sii902x_driver = { - .probe_new = sii902x_probe, + .probe = sii902x_probe, .remove = sii902x_remove, .driver = { .name ="sii902x" ,drivers/gpu/drm/bridge/sii9234.c +1
-1@@ -955,7 +955,7 @@ static struct i2c_driver sii9234_driver = { .name = "sii9234", .of_match_table = sii9234_dt_match, }, - .probe_new = sii9234_probe, + .probe = sii9234_probe, .remove = sii9234_remove, .id_table = sii9234_id, };drivers/gpu/drm/bridge/sil-sii8620.c +1
-1@@ -2378,7 +2378,7 @@ static struct i2c_driver sii8620_driver = { .name = "sii8620", .of_match_table = of_match_ptr(sii8620_dt_match), }, - .probe_new = sii8620_probe, + .probe = sii8620_probe, .remove = sii8620_remove, .id_table = sii8620_id, };drivers/gpu/drm/bridge/tc358767.c +1
-1@@ -2209,7 +2209,7 @@ static struct i2c_driver tc358767_driver = { .of_match_table = tc358767_of_ids, }, .id_table = tc358767_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358767_driver);drivers/gpu/drm/bridge/tc358768.c +1
-1@@ -1083,7 +1083,7 @@ static struct i2c_driver tc358768_driver = { .of_match_table = tc358768_of_ids, }, .id_table = tc358768_i2c_ids, - .probe_new = tc358768_i2c_probe, + .probe = tc358768_i2c_probe, .remove = tc358768_i2c_remove, };module_i2c_driver (tc358768_driver);drivers/gpu/drm/bridge/tc358775.c +1
-1@@ -728,7 +728,7 @@ static struct i2c_driver tc358775_driver = { .of_match_table = tc358775_of_ids, }, .id_table = tc358775_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358775_driver);drivers/gpu/drm/bridge/ti-dlpc3433.c +1
-1@@ -400,7 +400,7 @@ static const struct of_device_id dlpc3433_match_table[] = {MODULE_DEVICE_TABLE (of, dlpc3433_match_table);static struct i2c_driver dlpc3433_driver = { - .probe_new = dlpc3433_probe, + .probe = dlpc3433_probe, .remove = dlpc3433_remove, .id_table = dlpc3433_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi83.c +1
-1@@ -734,7 +734,7 @@ static const struct of_device_id sn65dsi83_match_table[] = {MODULE_DEVICE_TABLE (of, sn65dsi83_match_table);static struct i2c_driver sn65dsi83_driver = { - .probe_new = sn65dsi83_probe, + .probe = sn65dsi83_probe, .remove = sn65dsi83_remove, .id_table = sn65dsi83_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi86.c +1
-1@@ -1951,7 +1951,7 @@ static struct i2c_driver ti_sn65dsi86_driver = { .of_match_table = ti_sn65dsi86_match_table, .pm = &ti_sn65dsi86_pm_ops, }, - .probe_new = ti_sn65dsi86_probe, + .probe = ti_sn65dsi86_probe, .id_table = ti_sn65dsi86_id, };drivers/gpu/drm/bridge/ti-tfp410.c +1
-1@@ -408,7 +408,7 @@ static struct i2c_driver tfp410_i2c_driver = { .of_match_table = of_match_ptr(tfp410_match), }, .id_table = tfp410_i2c_ids, - .probe_new = tfp410_i2c_probe, + .probe = tfp410_i2c_probe, .remove = tfp410_i2c_remove, };#endif /* IS_ENABLED(CONFIG_I2C) */ drivers/gpu/drm/i2c/tda9950.c +1
-1@@ -492,7 +492,7 @@ static struct i2c_device_id tda9950_ids[] = {MODULE_DEVICE_TABLE (i2c, tda9950_ids);static struct i2c_driver tda9950_driver = { - .probe_new = tda9950_probe, + .probe = tda9950_probe, .remove = tda9950_remove, .driver = { .name ="tda9950" ,drivers/gpu/drm/i2c/tda998x_drv.c +1
-1@@ -2099,7 +2099,7 @@ static const struct i2c_device_id tda998x_ids[] = {MODULE_DEVICE_TABLE (i2c, tda998x_ids);static struct i2c_driver tda998x_driver = { - .probe_new = tda998x_probe, + .probe = tda998x_probe, .remove = tda998x_remove, .driver = { .name ="tda998x" ,drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c +1
-1@@ -308,7 +308,7 @@ static struct i2c_driver lcd_olinuxino_driver = { .name = "lcd_olinuxino", .of_match_table = lcd_olinuxino_of_ids, }, - .probe_new = lcd_olinuxino_probe, + .probe = lcd_olinuxino_probe, .remove = lcd_olinuxino_remove, };drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +1
-1@@ -489,7 +489,7 @@ static struct i2c_driver rpi_touchscreen_driver = { .name = "rpi_touchscreen", .of_match_table = rpi_touchscreen_of_ids, }, - .probe_new = rpi_touchscreen_probe, + .probe = rpi_touchscreen_probe, .remove = rpi_touchscreen_remove, };drivers/gpu/drm/solomon/ssd130x-i2c.c +1
-1@@ -100,7 +100,7 @@ static struct i2c_driver ssd130x_i2c_driver = { .name = DRIVER_NAME, .of_match_table = ssd130x_of_match, }, - .probe_new = ssd130x_i2c_probe, + .probe = ssd130x_i2c_probe, .remove = ssd130x_i2c_remove, .shutdown = ssd130x_i2c_shutdown, };base-commit:
ac9a78681b921877518763ba0e89202254349d1bSignature · 1 line
2.39.2
Kieran Bingham <[email protected]> writes:
Hello Uwe,
Quoted 17 lines
Quoting Uwe Kleine-König (2023-05-26 10:07:09)
Quoted 7 lines
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>Quoted 8 lines
---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
Quoted 8 lines
Having been invovled in
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type") and definitley expected 'temporary' to mean less than 7 years, I very much approve of this patchset.Thank you for all your efforts Uwe.
Reviewed-by Kieran Bingham <[email protected]>
I strongly second what Kieran just said. I was also involved in the commit mentioned and it is so great to see your efforts to finish that change.
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 7 lines · Uwe Kleine-König
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>
FWIW:
Quoted 476 lines
---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwedrivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +1
-1@@ -1393,7 +1393,7 @@ static struct i2c_driver adv7511_driver = { .of_match_table = adv7511_of_ids, }, .id_table = adv7511_i2c_ids, - .probe_new = adv7511_probe, + .probe = adv7511_probe, .remove = adv7511_remove, };drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +1
-1@@ -815,7 +815,7 @@ static struct i2c_driver anx6345_driver = { .name = "anx6345", .of_match_table = of_match_ptr(anx6345_match_table), }, - .probe_new = anx6345_i2c_probe, + .probe = anx6345_i2c_probe, .remove = anx6345_i2c_remove, .id_table = anx6345_id, };drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1
-1@@ -1389,7 +1389,7 @@ static struct i2c_driver anx78xx_driver = { .name = "anx7814", .of_match_table = of_match_ptr(anx78xx_match_table), }, - .probe_new = anx78xx_i2c_probe, + .probe = anx78xx_i2c_probe, .remove = anx78xx_i2c_remove, .id_table = anx78xx_id, };drivers/gpu/drm/bridge/analogix/anx7625.c +1
-1@@ -2753,7 +2753,7 @@ static struct i2c_driver anx7625_driver = { .of_match_table = anx_match_table, .pm = &anx7625_pm_ops, }, - .probe_new = anx7625_i2c_probe, + .probe = anx7625_i2c_probe, .remove = anx7625_i2c_remove, .id_table = anx7625_id,drivers/gpu/drm/bridge/chipone-icn6211.c +1
-1@@ -795,7 +795,7 @@ static struct i2c_device_id chipone_i2c_id[] = {MODULE_DEVICE_TABLE (i2c, chipone_i2c_id);static struct i2c_driver chipone_i2c_driver = { - .probe_new = chipone_i2c_probe, + .probe = chipone_i2c_probe, .id_table = chipone_i2c_id, .driver = { .name ="chipone-icn6211-i2c" ,drivers/gpu/drm/bridge/chrontel-ch7033.c +1
-1@@ -603,7 +603,7 @@ static const struct i2c_device_id ch7033_ids[] = {MODULE_DEVICE_TABLE (i2c, ch7033_ids);static struct i2c_driver ch7033_driver = { - .probe_new = ch7033_probe, + .probe = ch7033_probe, .remove = ch7033_remove, .driver = { .name ="ch7033" ,drivers/gpu/drm/bridge/cros-ec-anx7688.c +1
-1@@ -173,7 +173,7 @@ static const struct of_device_id cros_ec_anx7688_bridge_match_table[] = {MODULE_DEVICE_TABLE (of, cros_ec_anx7688_bridge_match_table);static struct i2c_driver cros_ec_anx7688_bridge_driver = { - .probe_new = cros_ec_anx7688_bridge_probe, + .probe = cros_ec_anx7688_bridge_probe, .remove = cros_ec_anx7688_bridge_remove, .driver = { .name ="cros-ec-anx7688-bridge" ,drivers/gpu/drm/bridge/ite-it6505.c +1
-1@@ -3478,7 +3478,7 @@ static struct i2c_driver it6505_i2c_driver = { .of_match_table = it6505_of_match, .pm = &it6505_bridge_pm_ops, }, - .probe_new = it6505_i2c_probe, + .probe = it6505_i2c_probe, .remove = it6505_i2c_remove, .shutdown = it6505_shutdown, .id_table = it6505_id,drivers/gpu/drm/bridge/ite-it66121.c +1
-1@@ -1640,7 +1640,7 @@ static struct i2c_driver it66121_driver = { .name = "it66121", .of_match_table = it66121_dt_match, }, - .probe_new = it66121_probe, + .probe = it66121_probe, .remove = it66121_remove, .id_table = it66121_id, };drivers/gpu/drm/bridge/lontium-lt8912b.c +1
-1@@ -773,7 +773,7 @@ static struct i2c_driver lt8912_i2c_driver = { .name = "lt8912", .of_match_table = lt8912_dt_match, }, - .probe_new = lt8912_probe, + .probe = lt8912_probe, .remove = lt8912_remove, .id_table = lt8912_id, };drivers/gpu/drm/bridge/lontium-lt9211.c +1
-1@@ -785,7 +785,7 @@ static const struct of_device_id lt9211_match_table[] = {MODULE_DEVICE_TABLE (of, lt9211_match_table);static struct i2c_driver lt9211_driver = { - .probe_new = lt9211_probe, + .probe = lt9211_probe, .remove = lt9211_remove, .id_table = lt9211_id, .driver = {drivers/gpu/drm/bridge/lontium-lt9611.c +1
-1@@ -1190,7 +1190,7 @@ static struct i2c_driver lt9611_driver = { .name = "lt9611", .of_match_table = lt9611_match_table, }, - .probe_new = lt9611_probe, + .probe = lt9611_probe, .remove = lt9611_remove, .id_table = lt9611_id, };drivers/gpu/drm/bridge/lontium-lt9611uxc.c +1
-1@@ -1011,7 +1011,7 @@ static struct i2c_driver lt9611uxc_driver = { .of_match_table = lt9611uxc_match_table, .dev_groups = lt9611uxc_attr_groups, }, - .probe_new = lt9611uxc_probe, + .probe = lt9611uxc_probe, .remove = lt9611uxc_remove, .id_table = lt9611uxc_id, };drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +2
-2@@ -375,7 +375,7 @@ MODULE_DEVICE_TABLE(of, stdp4028_ge_b850v3_fw_match);static struct i2c_driver stdp4028_ge_b850v3_fw_driver = { .id_table = stdp4028_ge_b850v3_fw_i2c_table, - .probe_new = stdp4028_ge_b850v3_fw_probe, + .probe = stdp4028_ge_b850v3_fw_probe, .remove = stdp4028_ge_b850v3_fw_remove, .driver = { .name ="stdp4028-ge-b850v3-fw" ,@@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, stdp2690_ge_b850v3_fw_match);static struct i2c_driver stdp2690_ge_b850v3_fw_driver = { .id_table = stdp2690_ge_b850v3_fw_i2c_table, - .probe_new = stdp2690_ge_b850v3_fw_probe, + .probe = stdp2690_ge_b850v3_fw_probe, .remove = stdp2690_ge_b850v3_fw_remove, .driver = { .name ="stdp2690-ge-b850v3-fw" ,drivers/gpu/drm/bridge/nxp-ptn3460.c +1
-1@@ -335,7 +335,7 @@ MODULE_DEVICE_TABLE(of, ptn3460_match);static struct i2c_driver ptn3460_driver = { .id_table = ptn3460_i2c_table, - .probe_new = ptn3460_probe, + .probe = ptn3460_probe, .remove = ptn3460_remove, .driver = { .name ="nxp,ptn3460" ,drivers/gpu/drm/bridge/parade-ps8622.c +1
-1@@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(i2c, ps8622_i2c_table);static struct i2c_driver ps8622_driver = { .id_table = ps8622_i2c_table, - .probe_new = ps8622_probe, + .probe = ps8622_probe, .remove = ps8622_remove, .driver = { .name ="ps8622" ,drivers/gpu/drm/bridge/parade-ps8640.c +1
-1@@ -791,7 +791,7 @@ static const struct of_device_id ps8640_match[] = {MODULE_DEVICE_TABLE (of, ps8640_match);static struct i2c_driver ps8640_driver = { - .probe_new = ps8640_probe, + .probe = ps8640_probe, .remove = ps8640_remove, .driver = { .name ="ps8640" ,drivers/gpu/drm/bridge/sii902x.c +1
-1@@ -1151,7 +1151,7 @@ static const struct i2c_device_id sii902x_i2c_ids[] = {MODULE_DEVICE_TABLE (i2c, sii902x_i2c_ids);static struct i2c_driver sii902x_driver = { - .probe_new = sii902x_probe, + .probe = sii902x_probe, .remove = sii902x_remove, .driver = { .name ="sii902x" ,drivers/gpu/drm/bridge/sii9234.c +1
-1@@ -955,7 +955,7 @@ static struct i2c_driver sii9234_driver = { .name = "sii9234", .of_match_table = sii9234_dt_match, }, - .probe_new = sii9234_probe, + .probe = sii9234_probe, .remove = sii9234_remove, .id_table = sii9234_id, };drivers/gpu/drm/bridge/sil-sii8620.c +1
-1@@ -2378,7 +2378,7 @@ static struct i2c_driver sii8620_driver = { .name = "sii8620", .of_match_table = of_match_ptr(sii8620_dt_match), }, - .probe_new = sii8620_probe, + .probe = sii8620_probe, .remove = sii8620_remove, .id_table = sii8620_id, };drivers/gpu/drm/bridge/tc358767.c +1
-1@@ -2209,7 +2209,7 @@ static struct i2c_driver tc358767_driver = { .of_match_table = tc358767_of_ids, }, .id_table = tc358767_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358767_driver);drivers/gpu/drm/bridge/tc358768.c +1
-1@@ -1083,7 +1083,7 @@ static struct i2c_driver tc358768_driver = { .of_match_table = tc358768_of_ids, }, .id_table = tc358768_i2c_ids, - .probe_new = tc358768_i2c_probe, + .probe = tc358768_i2c_probe, .remove = tc358768_i2c_remove, };module_i2c_driver (tc358768_driver);drivers/gpu/drm/bridge/tc358775.c +1
-1@@ -728,7 +728,7 @@ static struct i2c_driver tc358775_driver = { .of_match_table = tc358775_of_ids, }, .id_table = tc358775_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358775_driver);drivers/gpu/drm/bridge/ti-dlpc3433.c +1
-1@@ -400,7 +400,7 @@ static const struct of_device_id dlpc3433_match_table[] = {MODULE_DEVICE_TABLE (of, dlpc3433_match_table);static struct i2c_driver dlpc3433_driver = { - .probe_new = dlpc3433_probe, + .probe = dlpc3433_probe, .remove = dlpc3433_remove, .id_table = dlpc3433_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi83.c +1
-1@@ -734,7 +734,7 @@ static const struct of_device_id sn65dsi83_match_table[] = {MODULE_DEVICE_TABLE (of, sn65dsi83_match_table);static struct i2c_driver sn65dsi83_driver = { - .probe_new = sn65dsi83_probe, + .probe = sn65dsi83_probe, .remove = sn65dsi83_remove, .id_table = sn65dsi83_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi86.c +1
-1@@ -1951,7 +1951,7 @@ static struct i2c_driver ti_sn65dsi86_driver = { .of_match_table = ti_sn65dsi86_match_table, .pm = &ti_sn65dsi86_pm_ops, }, - .probe_new = ti_sn65dsi86_probe, + .probe = ti_sn65dsi86_probe, .id_table = ti_sn65dsi86_id, };drivers/gpu/drm/bridge/ti-tfp410.c +1
-1@@ -408,7 +408,7 @@ static struct i2c_driver tfp410_i2c_driver = { .of_match_table = of_match_ptr(tfp410_match), }, .id_table = tfp410_i2c_ids, - .probe_new = tfp410_i2c_probe, + .probe = tfp410_i2c_probe, .remove = tfp410_i2c_remove, };#endif /* IS_ENABLED(CONFIG_I2C) */ drivers/gpu/drm/i2c/tda9950.c +1
-1@@ -492,7 +492,7 @@ static struct i2c_device_id tda9950_ids[] = {MODULE_DEVICE_TABLE (i2c, tda9950_ids);static struct i2c_driver tda9950_driver = { - .probe_new = tda9950_probe, + .probe = tda9950_probe, .remove = tda9950_remove, .driver = { .name ="tda9950" ,drivers/gpu/drm/i2c/tda998x_drv.c +1
-1@@ -2099,7 +2099,7 @@ static const struct i2c_device_id tda998x_ids[] = {MODULE_DEVICE_TABLE (i2c, tda998x_ids);static struct i2c_driver tda998x_driver = { - .probe_new = tda998x_probe, + .probe = tda998x_probe, .remove = tda998x_remove, .driver = { .name ="tda998x" ,drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c +1
-1@@ -308,7 +308,7 @@ static struct i2c_driver lcd_olinuxino_driver = { .name = "lcd_olinuxino", .of_match_table = lcd_olinuxino_of_ids, }, - .probe_new = lcd_olinuxino_probe, + .probe = lcd_olinuxino_probe, .remove = lcd_olinuxino_remove, };drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +1
-1@@ -489,7 +489,7 @@ static struct i2c_driver rpi_touchscreen_driver = { .name = "rpi_touchscreen", .of_match_table = rpi_touchscreen_of_ids, }, - .probe_new = rpi_touchscreen_probe, + .probe = rpi_touchscreen_probe, .remove = rpi_touchscreen_remove, };drivers/gpu/drm/solomon/ssd130x-i2c.c +1
-1@@ -100,7 +100,7 @@ static struct i2c_driver ssd130x_i2c_driver = { .name = DRIVER_NAME, .of_match_table = ssd130x_of_match, }, - .probe_new = ssd130x_i2c_probe, + .probe = ssd130x_i2c_probe, .remove = ssd130x_i2c_remove, .shutdown = ssd130x_i2c_shutdown, };base-commit:
ac9a78681b921877518763ba0e89202254349d1b
Quoted 8 lines · Uwe Kleine-König
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>
FWIW:
Quoted 479 lines
---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwedrivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +1
-1@@ -1393,7 +1393,7 @@ static struct i2c_driver adv7511_driver = { .of_match_table = adv7511_of_ids, }, .id_table = adv7511_i2c_ids, - .probe_new = adv7511_probe, + .probe = adv7511_probe, .remove = adv7511_remove, };drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +1
-1@@ -815,7 +815,7 @@ static struct i2c_driver anx6345_driver = { .name = "anx6345", .of_match_table = of_match_ptr(anx6345_match_table), }, - .probe_new = anx6345_i2c_probe, + .probe = anx6345_i2c_probe, .remove = anx6345_i2c_remove, .id_table = anx6345_id, };drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1
-1@@ -1389,7 +1389,7 @@ static struct i2c_driver anx78xx_driver = { .name = "anx7814", .of_match_table = of_match_ptr(anx78xx_match_table), }, - .probe_new = anx78xx_i2c_probe, + .probe = anx78xx_i2c_probe, .remove = anx78xx_i2c_remove, .id_table = anx78xx_id, };drivers/gpu/drm/bridge/analogix/anx7625.c +1
-1@@ -2753,7 +2753,7 @@ static struct i2c_driver anx7625_driver = { .of_match_table = anx_match_table, .pm = &anx7625_pm_ops, }, - .probe_new = anx7625_i2c_probe, + .probe = anx7625_i2c_probe, .remove = anx7625_i2c_remove, .id_table = anx7625_id,drivers/gpu/drm/bridge/chipone-icn6211.c +1
-1@@ -795,7 +795,7 @@ static struct i2c_device_id chipone_i2c_id[] = {MODULE_DEVICE_TABLE (i2c, chipone_i2c_id);static struct i2c_driver chipone_i2c_driver = { - .probe_new = chipone_i2c_probe, + .probe = chipone_i2c_probe, .id_table = chipone_i2c_id, .driver = { .name ="chipone-icn6211-i2c" ,drivers/gpu/drm/bridge/chrontel-ch7033.c +1
-1@@ -603,7 +603,7 @@ static const struct i2c_device_id ch7033_ids[] = {MODULE_DEVICE_TABLE (i2c, ch7033_ids);static struct i2c_driver ch7033_driver = { - .probe_new = ch7033_probe, + .probe = ch7033_probe, .remove = ch7033_remove, .driver = { .name ="ch7033" ,drivers/gpu/drm/bridge/cros-ec-anx7688.c +1
-1@@ -173,7 +173,7 @@ static const struct of_device_id cros_ec_anx7688_bridge_match_table[] = {MODULE_DEVICE_TABLE (of, cros_ec_anx7688_bridge_match_table);static struct i2c_driver cros_ec_anx7688_bridge_driver = { - .probe_new = cros_ec_anx7688_bridge_probe, + .probe = cros_ec_anx7688_bridge_probe, .remove = cros_ec_anx7688_bridge_remove, .driver = { .name ="cros-ec-anx7688-bridge" ,drivers/gpu/drm/bridge/ite-it6505.c +1
-1@@ -3478,7 +3478,7 @@ static struct i2c_driver it6505_i2c_driver = { .of_match_table = it6505_of_match, .pm = &it6505_bridge_pm_ops, }, - .probe_new = it6505_i2c_probe, + .probe = it6505_i2c_probe, .remove = it6505_i2c_remove, .shutdown = it6505_shutdown, .id_table = it6505_id,drivers/gpu/drm/bridge/ite-it66121.c +1
-1@@ -1640,7 +1640,7 @@ static struct i2c_driver it66121_driver = { .name = "it66121", .of_match_table = it66121_dt_match, }, - .probe_new = it66121_probe, + .probe = it66121_probe, .remove = it66121_remove, .id_table = it66121_id, };drivers/gpu/drm/bridge/lontium-lt8912b.c +1
-1@@ -773,7 +773,7 @@ static struct i2c_driver lt8912_i2c_driver = { .name = "lt8912", .of_match_table = lt8912_dt_match, }, - .probe_new = lt8912_probe, + .probe = lt8912_probe, .remove = lt8912_remove, .id_table = lt8912_id, };drivers/gpu/drm/bridge/lontium-lt9211.c +1
-1@@ -785,7 +785,7 @@ static const struct of_device_id lt9211_match_table[] = {MODULE_DEVICE_TABLE (of, lt9211_match_table);static struct i2c_driver lt9211_driver = { - .probe_new = lt9211_probe, + .probe = lt9211_probe, .remove = lt9211_remove, .id_table = lt9211_id, .driver = {drivers/gpu/drm/bridge/lontium-lt9611.c +1
-1@@ -1190,7 +1190,7 @@ static struct i2c_driver lt9611_driver = { .name = "lt9611", .of_match_table = lt9611_match_table, }, - .probe_new = lt9611_probe, + .probe = lt9611_probe, .remove = lt9611_remove, .id_table = lt9611_id, };drivers/gpu/drm/bridge/lontium-lt9611uxc.c +1
-1@@ -1011,7 +1011,7 @@ static struct i2c_driver lt9611uxc_driver = { .of_match_table = lt9611uxc_match_table, .dev_groups = lt9611uxc_attr_groups, }, - .probe_new = lt9611uxc_probe, + .probe = lt9611uxc_probe, .remove = lt9611uxc_remove, .id_table = lt9611uxc_id, };drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +2
-2@@ -375,7 +375,7 @@ MODULE_DEVICE_TABLE(of, stdp4028_ge_b850v3_fw_match);static struct i2c_driver stdp4028_ge_b850v3_fw_driver = { .id_table = stdp4028_ge_b850v3_fw_i2c_table, - .probe_new = stdp4028_ge_b850v3_fw_probe, + .probe = stdp4028_ge_b850v3_fw_probe, .remove = stdp4028_ge_b850v3_fw_remove, .driver = { .name ="stdp4028-ge-b850v3-fw" ,@@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, stdp2690_ge_b850v3_fw_match);static struct i2c_driver stdp2690_ge_b850v3_fw_driver = { .id_table = stdp2690_ge_b850v3_fw_i2c_table, - .probe_new = stdp2690_ge_b850v3_fw_probe, + .probe = stdp2690_ge_b850v3_fw_probe, .remove = stdp2690_ge_b850v3_fw_remove, .driver = { .name ="stdp2690-ge-b850v3-fw" ,drivers/gpu/drm/bridge/nxp-ptn3460.c +1
-1@@ -335,7 +335,7 @@ MODULE_DEVICE_TABLE(of, ptn3460_match);static struct i2c_driver ptn3460_driver = { .id_table = ptn3460_i2c_table, - .probe_new = ptn3460_probe, + .probe = ptn3460_probe, .remove = ptn3460_remove, .driver = { .name ="nxp,ptn3460" ,drivers/gpu/drm/bridge/parade-ps8622.c +1
-1@@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(i2c, ps8622_i2c_table);static struct i2c_driver ps8622_driver = { .id_table = ps8622_i2c_table, - .probe_new = ps8622_probe, + .probe = ps8622_probe, .remove = ps8622_remove, .driver = { .name ="ps8622" ,drivers/gpu/drm/bridge/parade-ps8640.c +1
-1@@ -791,7 +791,7 @@ static const struct of_device_id ps8640_match[] = {MODULE_DEVICE_TABLE (of, ps8640_match);static struct i2c_driver ps8640_driver = { - .probe_new = ps8640_probe, + .probe = ps8640_probe, .remove = ps8640_remove, .driver = { .name ="ps8640" ,drivers/gpu/drm/bridge/sii902x.c +1
-1@@ -1151,7 +1151,7 @@ static const struct i2c_device_id sii902x_i2c_ids[] = {MODULE_DEVICE_TABLE (i2c, sii902x_i2c_ids);static struct i2c_driver sii902x_driver = { - .probe_new = sii902x_probe, + .probe = sii902x_probe, .remove = sii902x_remove, .driver = { .name ="sii902x" ,drivers/gpu/drm/bridge/sii9234.c +1
-1@@ -955,7 +955,7 @@ static struct i2c_driver sii9234_driver = { .name = "sii9234", .of_match_table = sii9234_dt_match, }, - .probe_new = sii9234_probe, + .probe = sii9234_probe, .remove = sii9234_remove, .id_table = sii9234_id, };drivers/gpu/drm/bridge/sil-sii8620.c +1
-1@@ -2378,7 +2378,7 @@ static struct i2c_driver sii8620_driver = { .name = "sii8620", .of_match_table = of_match_ptr(sii8620_dt_match), }, - .probe_new = sii8620_probe, + .probe = sii8620_probe, .remove = sii8620_remove, .id_table = sii8620_id, };drivers/gpu/drm/bridge/tc358767.c +1
-1@@ -2209,7 +2209,7 @@ static struct i2c_driver tc358767_driver = { .of_match_table = tc358767_of_ids, }, .id_table = tc358767_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358767_driver);drivers/gpu/drm/bridge/tc358768.c +1
-1@@ -1083,7 +1083,7 @@ static struct i2c_driver tc358768_driver = { .of_match_table = tc358768_of_ids, }, .id_table = tc358768_i2c_ids, - .probe_new = tc358768_i2c_probe, + .probe = tc358768_i2c_probe, .remove = tc358768_i2c_remove, };module_i2c_driver (tc358768_driver);drivers/gpu/drm/bridge/tc358775.c +1
-1@@ -728,7 +728,7 @@ static struct i2c_driver tc358775_driver = { .of_match_table = tc358775_of_ids, }, .id_table = tc358775_i2c_ids, - .probe_new = tc_probe, + .probe = tc_probe, .remove = tc_remove, };module_i2c_driver (tc358775_driver);drivers/gpu/drm/bridge/ti-dlpc3433.c +1
-1@@ -400,7 +400,7 @@ static const struct of_device_id dlpc3433_match_table[] = {MODULE_DEVICE_TABLE (of, dlpc3433_match_table);static struct i2c_driver dlpc3433_driver = { - .probe_new = dlpc3433_probe, + .probe = dlpc3433_probe, .remove = dlpc3433_remove, .id_table = dlpc3433_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi83.c +1
-1@@ -734,7 +734,7 @@ static const struct of_device_id sn65dsi83_match_table[] = {MODULE_DEVICE_TABLE (of, sn65dsi83_match_table);static struct i2c_driver sn65dsi83_driver = { - .probe_new = sn65dsi83_probe, + .probe = sn65dsi83_probe, .remove = sn65dsi83_remove, .id_table = sn65dsi83_id, .driver = {drivers/gpu/drm/bridge/ti-sn65dsi86.c +1
-1@@ -1951,7 +1951,7 @@ static struct i2c_driver ti_sn65dsi86_driver = { .of_match_table = ti_sn65dsi86_match_table, .pm = &ti_sn65dsi86_pm_ops, }, - .probe_new = ti_sn65dsi86_probe, + .probe = ti_sn65dsi86_probe, .id_table = ti_sn65dsi86_id, };drivers/gpu/drm/bridge/ti-tfp410.c +1
-1@@ -408,7 +408,7 @@ static struct i2c_driver tfp410_i2c_driver = { .of_match_table = of_match_ptr(tfp410_match), }, .id_table = tfp410_i2c_ids, - .probe_new = tfp410_i2c_probe, + .probe = tfp410_i2c_probe, .remove = tfp410_i2c_remove, };#endif /* IS_ENABLED(CONFIG_I2C) */ drivers/gpu/drm/i2c/tda9950.c +1
-1@@ -492,7 +492,7 @@ static struct i2c_device_id tda9950_ids[] = {MODULE_DEVICE_TABLE (i2c, tda9950_ids);static struct i2c_driver tda9950_driver = { - .probe_new = tda9950_probe, + .probe = tda9950_probe, .remove = tda9950_remove, .driver = { .name ="tda9950" ,drivers/gpu/drm/i2c/tda998x_drv.c +1
-1@@ -2099,7 +2099,7 @@ static const struct i2c_device_id tda998x_ids[] = {MODULE_DEVICE_TABLE (i2c, tda998x_ids);static struct i2c_driver tda998x_driver = { - .probe_new = tda998x_probe, + .probe = tda998x_probe, .remove = tda998x_remove, .driver = { .name ="tda998x" ,drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c +1
-1@@ -308,7 +308,7 @@ static struct i2c_driver lcd_olinuxino_driver = { .name = "lcd_olinuxino", .of_match_table = lcd_olinuxino_of_ids, }, - .probe_new = lcd_olinuxino_probe, + .probe = lcd_olinuxino_probe, .remove = lcd_olinuxino_remove, };drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +1
-1@@ -489,7 +489,7 @@ static struct i2c_driver rpi_touchscreen_driver = { .name = "rpi_touchscreen", .of_match_table = rpi_touchscreen_of_ids, }, - .probe_new = rpi_touchscreen_probe, + .probe = rpi_touchscreen_probe, .remove = rpi_touchscreen_remove, };drivers/gpu/drm/solomon/ssd130x-i2c.c +1
-1@@ -100,7 +100,7 @@ static struct i2c_driver ssd130x_i2c_driver = { .name = DRIVER_NAME, .of_match_table = ssd130x_of_match, }, - .probe_new = ssd130x_i2c_probe, + .probe = ssd130x_i2c_probe, .remove = ssd130x_i2c_remove, .shutdown = ssd130x_i2c_shutdown, };base-commit:
ac9a78681b921877518763ba0e89202254349d1b--
2.39.2
Hi,
Quoted 48 lines · Uwe Kleine-König
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwedrivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +-
Quoted 8 lines
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)
This does apply to drm-misc-next and I'm happy to apply it there, but I'm a bit iffy doing it on the Friday before a 3-day weekend (Monday is a holiday in the US). If this is still pending next Tuesday and I'm not swamped then, I'll plan to apply it. I'm more than happy if a different drm commtter wants to apply it sooner. Thanks!
-Doug
Doug Anderson
reviewerHi,
Quoted 62 lines · Doug Anderson
Hi,
Quoted 48 lines · Uwe Kleine-König
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>---
Hello,I didn't get feedback for (implicit) v1 that was sent with Message-Id:
<[email protected]>. This is a rebase on v6.4-rc1 as the former patch doesn't apply cleanly any more.I also added more people to Cc, maybe that helps to get feedback.
This patch is based on v6.4-rc1, and applies fine on today's next. (There are also no new drivers that need adaption in next.)
Thanks for considering,
Uwedrivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +- drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +- drivers/gpu/drm/bridge/cros-ec-anx7688.c | 2 +- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- drivers/gpu/drm/bridge/ite-it66121.c | 2 +- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/parade-ps8640.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 2 +- drivers/gpu/drm/bridge/sii9234.c | 2 +- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/tc358768.c | 2 +- drivers/gpu/drm/bridge/tc358775.c | 2 +- drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +-Quoted 8 lines
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- drivers/gpu/drm/i2c/tda9950.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/solomon/ssd130x-i2c.c | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-)
Quoted 7 lines
Reviewed-by Douglas Anderson <[email protected]>This does apply to drm-misc-next and I'm happy to apply it there, but I'm a bit iffy doing it on the Friday before a 3-day weekend (Monday is a holiday in the US). If this is still pending next Tuesday and I'm not swamped then, I'll plan to apply it. I'm more than happy if a different drm commtter wants to apply it sooner. Thanks!
As promised, pushed to drm-misc-next:
332af828ce78 drm: Switch i2c drivers back to use .probe()
This patch was applied to chrome-platform/linux.git (for-kernelci) by Douglas Anderson <[email protected]>:
Hello:
This patch was applied to chrome-platform/linux.git (for-kernelci) by Douglas Anderson <[email protected]>:
Quoted 9 lines · On Fri, 26 May 2023 11:07:09 +0200 you wrote:
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>[...]
Here is the summary with links:
- [v2] drm: Switch i2c drivers back to use .probe()
https://git.kernel.org/chrome-platform/c/332af828ce78
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
This patch was applied to chrome-platform/linux.git (for-next) by Douglas Anderson <[email protected]>:
Hello:
This patch was applied to chrome-platform/linux.git (for-next) by Douglas Anderson <[email protected]>:
Quoted 9 lines · On Fri, 26 May 2023 11:07:09 +0200 you wrote:
After commit
b8a1a4cd5a98("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then03c835f498b5("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from structi2c_driver.Signed-off-by Uwe Kleine-König <[email protected]>[...]
Here is the summary with links:
- [v2] drm: Switch i2c drivers back to use .probe()
https://git.kernel.org/chrome-platform/c/332af828ce78
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html