hwmon: (coretemp) Allow format checking
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 12 Feb 2015 14:15:16 +0000 (15:15 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 9 Mar 2015 16:59:35 +0000 (09:59 -0700)
commit1055b5f90424056432430fa06f94f1d12db07fba
tree63240950ae973e3447442e462e83d0c0a71a0b3c
parent9eccca0843205f87c00404b663188b88eb248051
hwmon: (coretemp) Allow format checking

By extracting the only part that differs we can allow static checking
of the format string, and possibly save a little .rodata.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
[Guenter Roeck: continuation line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c