Lines Matching refs:hwmon_dev
1292 struct device *hwmon_dev; in qlcnic_register_hwmon_dev() local
1296 adapter->ahw->hwmon_dev = NULL; in qlcnic_register_hwmon_dev()
1299 hwmon_dev = hwmon_device_register_with_groups(dev, qlcnic_driver_name, in qlcnic_register_hwmon_dev()
1302 if (IS_ERR(hwmon_dev)) { in qlcnic_register_hwmon_dev()
1304 PTR_ERR(hwmon_dev)); in qlcnic_register_hwmon_dev()
1305 hwmon_dev = NULL; in qlcnic_register_hwmon_dev()
1307 adapter->ahw->hwmon_dev = hwmon_dev; in qlcnic_register_hwmon_dev()
1312 struct device *hwmon_dev = adapter->ahw->hwmon_dev; in qlcnic_unregister_hwmon_dev() local
1313 if (hwmon_dev) { in qlcnic_unregister_hwmon_dev()
1314 hwmon_device_unregister(hwmon_dev); in qlcnic_unregister_hwmon_dev()
1315 adapter->ahw->hwmon_dev = NULL; in qlcnic_unregister_hwmon_dev()