]> git.baikalelectronics.ru Git - kernel.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>
Mon, 12 Aug 2013 05:10:39 +0000 (22:10 -0700)
commit316fe74b4d2e12751871db520f0093aa8a5dee5e
tree9352b5a06b864b706cbde97df1b8603a96dc0ecb
parentdbade0f36016f9e95896707567ae85ed613999af
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