From: Uwe Kleine-König Date: Thu, 11 Nov 2010 15:47:50 +0000 (+0100) Subject: mfd: Don't open-code mc13xxx_unlock X-Git-Tag: v2.6.38-rc1~61^2~55 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e1b88eb0e08335d2f6c00b35b67b4ffc78fd46d6;p=karo-tx-linux.git mfd: Don't open-code mc13xxx_unlock Signed-off-by: Uwe Kleine-König Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index a2ac2ed6d64c..b9fcaf0004da 100644 --- 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: - mutex_unlock(&mc13xxx->lock); + mc13xxx_unlock(mc13xxx); dev_set_drvdata(&spi->dev, NULL); kfree(mc13xxx); return ret;