]> git.karo-electronics.de Git - karo-tx-linux.git/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>
Wed, 31 Jul 2013 22:11:45 +0000 (15:11 -0700)
commit52df780012c8e89a07dd4f37981778e48e45991d
tree841b8c383628cb00298c6028d4f28c6b3ceff89f
parent5265ba37d4893cf44a3c2284273c828262427ccf
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