Lines Matching refs:hwmon
11 #include <linux/hwmon.h>
12 #include <linux/hwmon-sysfs.h>
27 * @hwmon: hwmon device;
31 * @groups: list of sysfs attribute group for hwmon registration;
38 struct device *hwmon;
250 priv->hwmon = devm_hwmon_device_register_with_groups(&pdev->dev,
254 if (IS_ERR(priv->hwmon)) {
255 dev_err(&pdev->dev, "Failed to register hwmon device %ld\n",
256 PTR_ERR(priv->hwmon));
257 return PTR_ERR(priv->hwmon);