public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: wm5102: Treat future revisions as revision B
@ 2012-11-29 17:49 Mark Brown
  2012-11-30 10:22 ` Samuel Ortiz
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2012-11-29 17:49 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, patches, Mark Brown

The expectation is that future revisions will behave as revision B.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 drivers/mfd/wm5102-tables.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index 447b00b..b82a003 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -76,12 +76,10 @@ int wm5102_patch(struct arizona *arizona)
 		return regmap_register_patch(arizona->regmap,
 					     wm5102_reva_patch,
 					     ARRAY_SIZE(wm5102_reva_patch));
-	case 1:
+	default:
 		return regmap_register_patch(arizona->regmap,
 					     wm5102_revb_patch,
 					     ARRAY_SIZE(wm5102_revb_patch));
-	default:
-		return 0;
 	}
 }
 
-- 
1.7.10.4


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

end of thread, other threads:[~2012-12-01 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 17:49 [PATCH] mfd: wm5102: Treat future revisions as revision B Mark Brown
2012-11-30 10:22 ` Samuel Ortiz
2012-12-01 13:29   ` Mark Brown

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