Source
86
86
hwmon_dev = devm_hwmon_device_register_with_groups(&pdev->dev, "wm8350",
87
87
wm8350,
88
88
wm8350_groups);
89
89
return PTR_ERR_OR_ZERO(hwmon_dev);
90
90
}
91
91
92
92
static struct platform_driver wm8350_hwmon_driver = {
93
93
.probe = wm8350_hwmon_probe,
94
94
.driver = {
95
95
.name = "wm8350-hwmon",
96
-
.owner = THIS_MODULE,
97
96
},
98
97
};
99
98
100
99
module_platform_driver(wm8350_hwmon_driver);
101
100
102
101
MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
103
102
MODULE_DESCRIPTION("WM8350 Hardware Monitoring");
104
103
MODULE_LICENSE("GPL");
105
104
MODULE_ALIAS("platform:wm8350-hwmon");