mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Samuel Ortiz <sameo@linux.intel.com>
Cc: linux-kernel@vger.kernel.org,
	patches@opensource.wolfsonmicro.com,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: [PATCH] mfd: wm5102: Treat future revisions as revision B
Date: Thu, 29 Nov 2012 17:49:17 +0000	[thread overview]
Message-ID: <1354211357-13736-1-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)

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


             reply	other threads:[~2012-11-29 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 17:49 Mark Brown [this message]
2012-11-30 10:22 ` Samuel Ortiz
2012-12-01 13:29   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354211357-13736-1-git-send-email-broonie@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome