hwmon: (coretemp) Avoid redundant lookups
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 17:42:03 +0000 (17:42 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:09 +0000 (21:54 -0800)
commit4b138cf73f4548d256f26006a756bc0fe3ad786e
treeb854b0641622d1bef6126d0c5089cbeb25ec4fea
parente1b370b64031a01bb0c4158ce250073a88921fe1
hwmon: (coretemp) Avoid redundant lookups

No point in looking up the same thing over and over.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c