Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754203Ab2K2RtV (ORCPT ); Thu, 29 Nov 2012 12:49:21 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:56004 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753956Ab2K2RtU (ORCPT ); Thu, 29 Nov 2012 12:49:20 -0500 From: Mark Brown To: Samuel Ortiz Cc: linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com, Mark Brown Subject: [PATCH] mfd: wm5102: Treat future revisions as revision B Date: Thu, 29 Nov 2012 17:49:17 +0000 Message-Id: <1354211357-13736-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 33 The expectation is that future revisions will behave as revision B. Signed-off-by: Mark Brown --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/