hwmon: (ntc_thermistor) Use dev instead of &pdev->dev where possible
authorGuenter Roeck <linux@roeck-us.net>
Mon, 25 Jul 2016 20:37:56 +0000 (13:37 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 9 Sep 2016 04:34:14 +0000 (21:34 -0700)
commit48001525c94b099058ef0b1fa6a5094082123d2d
tree570366bd3881e9f6a4c1b2c4114e06153cf09ca8
parent640208567660dbe8ad81f3b1c7c90e56fd352317
hwmon: (ntc_thermistor) Use dev instead of &pdev->dev where possible

Instead of repeatedly accessing &pdev->dev, use a local variable dev
instead where possible. Also drop 'dev' from private data since it is
unnecessary.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c