[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1233937900-18710-1-git-send-email-philipp.zabel@gmail.com>
Date: Fri, 6 Feb 2009 17:31:40 +0100
From: Philipp Zabel <philipp.zabel@...il.com>
To: Samuel Ortiz <sameo@...nedhand.com>
Cc: linux-kernel@...r.kernel.org,
Philipp Zabel <philipp.zabel@...il.com>
Subject: [PATCH] mfd: DS1WM: remove warning about unused label err2
Hi Samuel,
thanks for queuing the patchset. Could you please fold this into the DS1WM clock removal patch?
Signed-off-by: Philipp Zabel <philipp.zabel@...il.com>
---
drivers/w1/masters/ds1wm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c
index b982aa6..37f08c8 100644
--- a/drivers/w1/masters/ds1wm.c
+++ b/drivers/w1/masters/ds1wm.c
@@ -387,13 +387,12 @@ static int ds1wm_probe(struct platform_device *pdev)
ret = w1_add_master_device(&ds1wm_master);
if (ret)
- goto err3;
+ goto err2;
return 0;
-err3:
- ds1wm_down(ds1wm_data);
err2:
+ ds1wm_down(ds1wm_data);
free_irq(ds1wm_data->irq, ds1wm_data);
err1:
iounmap(ds1wm_data->map);
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists