]> git.sur5r.net Git - groeck-nct6775/commit
hwmon: (nct6775) Avoid using device platform data outside probe function
authorGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jul 2013 20:50:04 +0000 (13:50 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jul 2013 20:50:04 +0000 (13:50 -0700)
commit5b5112711f86b7c24a8397e2787f22c532fa4509
treece17dfa3ddefb03e4b77fecefafb6da38327aef7
parentf813d73cc041a5bb85a43af1e43d91d0f7800846
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>
nct6775.c