hwmon: Use helper functions to set and get driver data