Commit e200052f authored by Helge Deller's avatar Helge Deller Committed by Rafael J. Wysocki

PM / AVS: Use %pS printk format for direct addresses

Use the %pS instead of the %pF printk format specifier for printing
symbols from direct addresses. This is needed for the ia64, ppc64 and
parisc64 architectures.
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Acked-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 8a5776a5
...@@ -355,7 +355,7 @@ int sr_configure_errgen(struct omap_sr *sr) ...@@ -355,7 +355,7 @@ int sr_configure_errgen(struct omap_sr *sr)
u8 senp_shift, senn_shift; u8 senp_shift, senn_shift;
if (!sr) { if (!sr) {
pr_warn("%s: NULL omap_sr from %pF\n", pr_warn("%s: NULL omap_sr from %pS\n",
__func__, (void *)_RET_IP_); __func__, (void *)_RET_IP_);
return -EINVAL; return -EINVAL;
} }
...@@ -422,7 +422,7 @@ int sr_disable_errgen(struct omap_sr *sr) ...@@ -422,7 +422,7 @@ int sr_disable_errgen(struct omap_sr *sr)
u32 vpboundint_en, vpboundint_st; u32 vpboundint_en, vpboundint_st;
if (!sr) { if (!sr) {
pr_warn("%s: NULL omap_sr from %pF\n", pr_warn("%s: NULL omap_sr from %pS\n",
__func__, (void *)_RET_IP_); __func__, (void *)_RET_IP_);
return -EINVAL; return -EINVAL;
} }
...@@ -477,7 +477,7 @@ int sr_configure_minmax(struct omap_sr *sr) ...@@ -477,7 +477,7 @@ int sr_configure_minmax(struct omap_sr *sr)
u8 senp_shift, senn_shift; u8 senp_shift, senn_shift;
if (!sr) { if (!sr) {
pr_warn("%s: NULL omap_sr from %pF\n", pr_warn("%s: NULL omap_sr from %pS\n",
__func__, (void *)_RET_IP_); __func__, (void *)_RET_IP_);
return -EINVAL; return -EINVAL;
} }
...@@ -562,7 +562,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt) ...@@ -562,7 +562,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt)
int ret; int ret;
if (!sr) { if (!sr) {
pr_warn("%s: NULL omap_sr from %pF\n", pr_warn("%s: NULL omap_sr from %pS\n",
__func__, (void *)_RET_IP_); __func__, (void *)_RET_IP_);
return -EINVAL; return -EINVAL;
} }
...@@ -614,7 +614,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt) ...@@ -614,7 +614,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt)
void sr_disable(struct omap_sr *sr) void sr_disable(struct omap_sr *sr)
{ {
if (!sr) { if (!sr) {
pr_warn("%s: NULL omap_sr from %pF\n", pr_warn("%s: NULL omap_sr from %pS\n",
__func__, (void *)_RET_IP_); __func__, (void *)_RET_IP_);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment