commit | df612d5fb73d731e51964a6501fed7d465c79e95 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Jul 08 13:15:04 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Aug 11 22:10:39 2013 -0700 |
tree | 9352b5a06b864b706cbde97df1b8603a96dc0ecb | |
parent | 578ab5f0e4b13a6f63e9ee108a44d7a20f6ccfce [diff] |
hwmon: (nct6775) Avoid using device platform data outside probe function Plan going forward is to attach all device attributes to the hwmon device and no longer to the platform device. With that change, accessing platform data outside the probe function will be more difficult. To avoid the problem, change code to no longer rely on it. Signed-off-by: Guenter Roeck <linux@roeck-us.net>