projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b2289
)
mfd: Don't open-code mc13xxx_unlock
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 11 Nov 2010 15:47:50 +0000
(16:47 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:37 +0000
(12:37 +0100)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/mc13xxx-core.c
b/drivers/mfd/mc13xxx-core.c
index a2ac2ed6d64c64467e12ad6822f543cfe609a853..b9fcaf0004da79142414ef54d53f866122df1a1e 100644
(file)
--- a/
drivers/mfd/mc13xxx-core.c
+++ b/
drivers/mfd/mc13xxx-core.c
@@
-749,7
+749,7
@@
static int mc13xxx_probe(struct spi_device *spi)
if (ret) {
err_mask:
err_revision:
- m
utex_unlock(&mc13xxx->lock
);
+ m
c13xxx_unlock(mc13xxx
);
dev_set_drvdata(&spi->dev, NULL);
kfree(mc13xxx);
return ret;