ARM: OMAP: unwrap strings
Find and unwrap wrapped strings in the style:
pr_debug("clockdomain: hardware cannot set/clear wake up of "
"%s when %s wakes up\n", clkdm1->name, clkdm2->name);
Keeping these strings contiguous seems to be the current Linux kernel
policy.
The offending lines were found with the following command:
pcregrep -rnM '"\s*$\s*"' arch/arm/*omap*
While here, some messages have been clarified, some pr_warning(
... calls have been converted to pr_warn( ..., and some printk(KERN_*
... have been converted to pr_*.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
@@ -553,8 +553,8 @@ static int n8x0_auto_sleep_regulators(void)
|
||||
|
||||
ret = menelaus_set_regulator_sleep(1, val);
|
||||
if (ret < 0) {
|
||||
printk(KERN_ERR "Could not set regulators to sleep on "
|
||||
"menelaus: %u\n", ret);
|
||||
pr_err("Could not set regulators to sleep on menelaus: %u\n",
|
||||
ret);
|
||||
return ret;
|
||||
}
|
||||
return 0;
|
||||
@@ -566,8 +566,7 @@ static int n8x0_auto_voltage_scale(void)
|
||||
|
||||
ret = menelaus_set_vcore_hw(1400, 1050);
|
||||
if (ret < 0) {
|
||||
printk(KERN_ERR "Could not set VCORE voltage on "
|
||||
"menelaus: %u\n", ret);
|
||||
pr_err("Could not set VCORE voltage on menelaus: %u\n", ret);
|
||||
return ret;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user