public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd/mc13xxx: don't open-code mc13xxx_unlock
@ 2010-11-11 15:47 Uwe Kleine-König
  2010-11-26 10:40 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2010-11-11 15:47 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/mfd/mc13xxx-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index a2ac2ed..b9fcaf0 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;
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd/mc13xxx: don't open-code mc13xxx_unlock
  2010-11-11 15:47 [PATCH] mfd/mc13xxx: don't open-code mc13xxx_unlock Uwe Kleine-König
@ 2010-11-26 10:40 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2010-11-26 10:40 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-kernel

Hi Uwe,

On Thu, Nov 11, 2010 at 04:47:50PM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Looks good, patch applied.

Cheers,
Samuel.


> ---
>  drivers/mfd/mc13xxx-core.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
> index a2ac2ed..b9fcaf0 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;
> -- 
> 1.7.2.3
> 

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-26 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11 15:47 [PATCH] mfd/mc13xxx: don't open-code mc13xxx_unlock Uwe Kleine-König
2010-11-26 10:40 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox