Re: [PATCH 2/3] hwmon: (coretemp) Allow format checking

2015-02-12 Thread Guenter Roeck
On 02/12/2015 06:15 AM, Rasmus Villemoes wrote: 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 Applied to -next after fixing multi-line alignment. Thanks, Guenter -- To unsubscri

[PATCH 2/3] hwmon: (coretemp) Allow format checking

2015-02-12 Thread Rasmus Villemoes
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 --- drivers/hwmon/coretemp.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/hwmon/coretemp.c b/