Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbdDCOUS (ORCPT ); Mon, 3 Apr 2017 10:20:18 -0400 Received: from mail1.bemta3.messagelabs.com ([195.245.230.166]:39801 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbdDCOUP (ORCPT ); Mon, 3 Apr 2017 10:20:15 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnk+JIrShJLcpLzFFi42KJ27nUWFcq6lG EwZ978hZTHz5hs5h/5ByrxeFFLxgt5l+5xmpx/+tRRotvVzqYLG5++sZqcXnXHDaLz71HGC1u rNvHbvFk4Rkmi6XXLzJZtO49AuQ+7GOzuDXjBasDv8eaeWsYPXbOusvucW2zmMfiPS+ZPDat6 mTzuHNtD5vHzu8N7B6fN8kFcESxZuYl5VcksGasnHuXpeAKS8WM1mWsDYxnWLoYuTiEBJYwSk ya+Z29i5GTg03AUGLem/eMXYwcHCICKhLn3piD1DALPGaROPHwDStIjbCApcTezctYQGwRASu JbSfnsMPYP95vYQaxWYB6pz95DGbzCgRIXF11lxFi2UFGiVtzF4AN4hQwlphxaBtYM6OArMSX xtVgDcwC4hK3nsxnArElBAQkluw5zwxhi0q8fPyPFcKWl1j76wlU3F7i9b13LCBHSwjoS/Q1F kOEDSVWTTvAAmGbS/Q/7QErYRbQlFi/Sx9ik6LElO6H7BBnCkqcnPmEZQKj+CwkR8xC6JiFpG MWko4FjCyrGDWKU4vKUot0DS30kooy0zNKchMzc3QNDYz1clOLixPTU3MSk4r1kvNzNzECE0U 9AwPjDsbfpz0PMUpyMCmJ8n5QeBQhxJeUn1KZkVicEV9UmpNafIhRhoNDSYL3UgRQTrAoNT21 Ii0zB5iyYNISHDxKIrzPQdK8xQWJucWZ6RCpU4y6HDeOH3jDJMSSl5+XKiXOawZSJABSlFGaB zcClj4vMcpKCfMyMjAwCPEUpBblZpagyr9iFOdgVBLmZYgEmsKTmVcCt+kV0BFMQEc8ufMQ5I iSRISUVAPjwis31tVmSb13uv5rB0ufm9wyZ2c7jV+9KzaUGm6ZdvRnVsLs5cf6nob06iyPTes 8ZxlRO7sybPPhF1qZs3qKNxWGHG+7HLGih/elw3ZPW9NHbB9ubznL4qor9XOLzDqZ/Q7dPyrm vF33bem1j+1H0kPj1beu5+zyr7yVJpts3ejX2+jsuKJEiaU4I9FQi7moOBEAbRt425oDAAA= X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-9.tower-217.messagelabs.com!1491229210!89628144!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked From: Steve Twiss To: Lee Jones CC: LINUX-KERNEL , DEVICETREE , Dmitry Torokhov , Eduardo Valentin , Guenter Roeck , LINUX-INPUT , LINUX-PM , LINUX-WATCHDOG , Liam Girdwood , Mark Brown , "Mark Rutland" , Rob Herring , "Support Opensource" , Wim Van Sebroeck , Zhang Rui Subject: RE: [PATCH V7 4/7] mfd: da9061: MFD core support Thread-Topic: [PATCH V7 4/7] mfd: da9061: MFD core support Thread-Index: AQHSp9MeyoJYoFb5tUuneaXCMwHazKGzqCwAgAARsOA= Date: Mon, 3 Apr 2017 14:20:09 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7018CD6B183@SW-EX-MBX02.diasemi.com> References: <8987877cc54940358c5b7a65ca003cedc5586f0d.1490712213.git.stwiss.opensource@diasemi.com> <20170403141214.q6ndii6c47pqfqx6@dell> In-Reply-To: <20170403141214.q6ndii6c47pqfqx6@dell> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.26.77] x-kse-attachmentfiltering-interceptor-info: protection disabled x-kse-serverinfo: sw-ex-cashub01.diasemi.com, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 03/04/2017 12:38:00 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v33EKNYU027359 Content-Length: 423 Lines: 18 On 03 April 2017 15:12, Lee Jones wrote: > > @@ -475,7 +855,25 @@ static int da9062_i2c_probe(struct i2c_client *i2c, > > return -EINVAL; > > } > > > > - chip->regmap = devm_regmap_init_i2c(i2c, &da9062_regmap_config); > > + switch (chip->chip_type) { > > + case(COMPAT_TYPE_DA9061): > > Brackets around the case value? > > That's a new one on me. Hm. Do you want me to resend it without braces? Regards, Stephen