We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25633a commit 882bd6dCopy full SHA for 882bd6d
drivers/hwmon/emc2305.c
@@ -607,9 +607,16 @@ static void emc2305_remove(struct i2c_client *client)
607
emc2305_unset_tz(dev);
608
}
609
610
+static const struct of_device_id of_emc2305_match_table[] = {
611
+ { .compatible = "microchip,emc2305", },
612
+ {},
613
+};
614
+MODULE_DEVICE_TABLE(of, of_emc2305_match_table);
615
+
616
static struct i2c_driver emc2305_driver = {
617
.driver = {
618
.name = "emc2305",
619
+ .of_match_table = of_emc2305_match_table,
620
},
621
.probe = emc2305_probe,
622
.remove = emc2305_remove,
0 commit comments