Hello,
On Fri, Jun 03, 2022 at 04:37:51PM +0200, Robert Foss wrote:
On Fri, 3 Jun 2022 at 16:04, Jagan Teki jagan@amarulasolutions.com wrote:
+static int dlpc3433_remove(struct i2c_client *client) +{
struct dlpc *dlpc = i2c_get_clientdata(client);
drm_bridge_remove(&dlpc->bridge);
of_node_put(dlpc->host_node);
return 0;
+}
- [...]
+static struct i2c_driver dlpc3433_driver = {
.probe_new = dlpc3433_probe,
.remove = dlpc3433_remove,
.id_table = dlpc3433_id,
.driver = {
.name = "ti-dlpc3433",
.of_match_table = dlpc3433_match_table,
},
+}; +module_i2c_driver(dlpc3433_driver);
Applied to drm-misc-next.
just a quick note that there is an easy conflict between this patch and my effort to make i2c remove callbacks return void. I intend to post my series on top of v5.20-rc1, so if this patch goes in before, everything is fine.
See https://lore.kernel.org/linux-i2c/20220609091018.q52fhowlsdbdkct5@pengutroni... for some more details.
Best regards Uwe