diff options
Diffstat (limited to 'arch/arm/common/sharpsl_pm.c')
-rw-r--r-- | arch/arm/common/sharpsl_pm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/common/sharpsl_pm.c b/arch/arm/common/sharpsl_pm.c index 045e37e07330..59b5ddec480f 100644 --- a/arch/arm/common/sharpsl_pm.c +++ b/arch/arm/common/sharpsl_pm.c | |||
@@ -412,8 +412,10 @@ static int sharpsl_check_battery_temp(void) | |||
412 | val = get_select_val(buff); | 412 | val = get_select_val(buff); |
413 | 413 | ||
414 | dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val); | 414 | dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val); |
415 | if (val > sharpsl_pm.machinfo->charge_on_temp) | 415 | if (val > sharpsl_pm.machinfo->charge_on_temp) { |
416 | printk(KERN_WARNING "Not charging: temperature out of limits.\n"); | ||
416 | return -1; | 417 | return -1; |
418 | } | ||
417 | 419 | ||
418 | return 0; | 420 | return 0; |
419 | } | 421 | } |