]> Pileus Git - ~andy/linux/commit
hwmon: (nct6775) Avoid using device platform data outside probe function
authorGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jul 2013 20:15:04 +0000 (13:15 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 Aug 2013 05:10:39 +0000 (22:10 -0700)
commitdf612d5fb73d731e51964a6501fed7d465c79e95
tree9352b5a06b864b706cbde97df1b8603a96dc0ecb
parent578ab5f0e4b13a6f63e9ee108a44d7a20f6ccfce
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>
drivers/hwmon/nct6775.c