mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Bluetooth: Add format specifier
This patch adds format specifier corresponding to arguments passed to print debug logs. Change-Id: Iff586dd827037cca3419e1c3c9822d2637ef94aa Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
This commit is contained in:
parent
d12c787a66
commit
37ae7bd9b4
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ static int bt_vreg_enable(struct bt_power_vreg_data *vreg)
|
|||
|
||||
rc = regulator_enable(vreg->reg);
|
||||
if (rc < 0) {
|
||||
pr_err("regulator_enable(%s) failed. rc=%d\n",
|
||||
pr_err("%s: regulator_enable(%s) failed. rc=%d\n",
|
||||
__func__, vreg->name, rc);
|
||||
goto out;
|
||||
}
|
||||
|
|
@ -1030,7 +1030,7 @@ static void set_pwr_srcs_status(struct bt_power_vreg_data *handle)
|
|||
(regulator_is_enabled(handle->reg))) {
|
||||
ldo_vol = regulator_get_voltage(handle->reg);
|
||||
PWR_SRC_STATUS_SET(ldo_index, ldo_vol);
|
||||
pr_err("%s(%d) value(%d)\n", handle->name,
|
||||
pr_err("%s(%p) value(%d)\n", handle->name,
|
||||
handle, ldo_vol);
|
||||
} else {
|
||||
pr_err("%s:%s is_enabled: %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue