hwmon: (it87) Don't use pdev as static driver variable
authorGuenter Roeck <linux@roeck-us.net>
Sat, 28 Mar 2015 14:49:14 +0000 (07:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:36 +0000 (06:32 -0700)
commit8e50e3c3f60c84b96956d37cbbf109b75569c6ba
treee01af634d0b4273253a7598d2b7acfcd50a6e6ca
parent5cae84a58ee60eb54f636133f4f3ede9af93d476
hwmon: (it87) Don't use pdev as static driver variable

Using the same varible name for function names and as static
variable invites misuse and prevents us from adding support
for a second chip. Rename pdev to it87_pdev and limit its use
to where it is needed.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c