aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/mc13xxx-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index 64dde5d24b32..25fd7116493a 100644
--- a/drivers/mfd/mc13xxx-core.c
+++ b/drivers/mfd/mc13xxx-core.c
@@ -51,19 +51,19 @@
51void mc13xxx_lock(struct mc13xxx *mc13xxx) 51void mc13xxx_lock(struct mc13xxx *mc13xxx)
52{ 52{
53 if (!mutex_trylock(&mc13xxx->lock)) { 53 if (!mutex_trylock(&mc13xxx->lock)) {
54 dev_dbg(mc13xxx->dev, "wait for %s from %pf\n", 54 dev_dbg(mc13xxx->dev, "wait for %s from %ps\n",
55 __func__, __builtin_return_address(0)); 55 __func__, __builtin_return_address(0));
56 56
57 mutex_lock(&mc13xxx->lock); 57 mutex_lock(&mc13xxx->lock);
58 } 58 }
59 dev_dbg(mc13xxx->dev, "%s from %pf\n", 59 dev_dbg(mc13xxx->dev, "%s from %ps\n",
60 __func__, __builtin_return_address(0)); 60 __func__, __builtin_return_address(0));
61} 61}
62EXPORT_SYMBOL(mc13xxx_lock); 62EXPORT_SYMBOL(mc13xxx_lock);
63 63
64void mc13xxx_unlock(struct mc13xxx *mc13xxx) 64void mc13xxx_unlock(struct mc13xxx *mc13xxx)
65{ 65{
66 dev_dbg(mc13xxx->dev, "%s from %pf\n", 66 dev_dbg(mc13xxx->dev, "%s from %ps\n",
67 __func__, __builtin_return_address(0)); 67 __func__, __builtin_return_address(0));
68 mutex_unlock(&mc13xxx->lock); 68 mutex_unlock(&mc13xxx->lock);
69} 69}