Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988AbdDCP4m (ORCPT ); Mon, 3 Apr 2017 11:56:42 -0400 Received: from mail1.bemta3.messagelabs.com ([195.245.230.171]:55350 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753936AbdDCP4j (ORCPT ); Mon, 3 Apr 2017 11:56:39 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBKsWRWlGSWpSXmKPExsUSt3Opse7ygkc RBh9faVhMffiEzWL+kXOsFocXvWC0mH/lGqvF/a9HGS2+Xelgsrj56RurxeVdc9gsPvceYbS4 sW4fu8WThWeYLJZev8hk0br3CJD7sI/N4taMF6wO/B5r5q1h9Ng56y67x7XNYh6L97xk8ti0q pPN4861PWweO783sHt83iQXwBHFmpmXlF+RwJpxYZFNwQvuik3zv7I3MF7h7mLk4hASWMIoMe HSIbYuRk4ONgFDiXlv3jN2MXJwiAioSJx7Yw5SwyzwmEXixMM3rCA1wgKWEns3L2MBsUUErCS 2nZzDDmG7STQ3tzKB2CxAvduuzWUDmcMrECAx7ZwCxK71TBLLdvxiB4lzChhLXDlvBVLOKCAr 8aVxNTOIzSwgLnHryXywMRICAhJL9pxnhrBFJV4+/scKYctLrP31BCpuL/H63jsWkJESAvoSf Y3FEGFDiVXTDrBA2OYS/U97wEqYBTQl1u/Sh9ikKDGl+yHY8bwCghInZz5hmcAoPgvJEbMQOm Yh6ZiFpGMBI8sqRo3i1KKy1CJdI1O9pKLM9IyS3MTMHF1DA2O93NTi4sT01JzEpGK95PzcTYz AFFHPwMC4g7H1hN8hRkkOJiVR3g8KjyKE+JLyUyozEosz4otKc1KLDzHKcHAoSfBm5APlBItS 01Mr0jJzgMkKJi3BwaMkwvs3DyjNW1yQmFucmQ6ROsWoKCXOew0kIQCSyCjNg2uDJchLjLJSw ryMDAwMQjwFqUW5mSWo8q8YxTkYlYR5P+UCTeHJzCuBm/4KaDET0OIndx6CLC5JREhJNTBO/3 p1WcT8FP+MvQXywlaCl59e6etZ0tjydXFH/AS93aYcdh8/P1nLsPD6KcXV5ldbPG+2xbwrmLf raPHKdz3PDaPZmc7rBivqTo9f/uwtF3twrvo1rmf6c7bfYOWuEL6kd7SXKVBz6fYXKiya2/2L lLkKVA7HqbeqfZOoqfub/ffNxo2pmkFKLMUZiYZazEXFiQDwbVO4iwMAAA== X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-8.tower-217.messagelabs.com!1491234983!89563446!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: AQHSp9MeyoJYoFb5tUuneaXCMwHazKGzqCwAgAARsOD///OBgIAAEPEw Date: Mon, 3 Apr 2017 15:56:22 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7018CD6B207@SW-EX-MBX02.diasemi.com> References: <8987877cc54940358c5b7a65ca003cedc5586f0d.1490712213.git.stwiss.opensource@diasemi.com> <20170403141214.q6ndii6c47pqfqx6@dell> <6ED8E3B22081A4459DAC7699F3695FB7018CD6B183@SW-EX-MBX02.diasemi.com> <20170403143049.qyi4dagwi4cdenok@dell> In-Reply-To: <20170403143049.qyi4dagwi4cdenok@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 v33FusGq005073 Content-Length: 1079 Lines: 38 On 03 April 2017 15:31, Lee Jones wrote: > Subject: Re: [PATCH V7 4/7] mfd: da9061: MFD core support > > On Mon, 03 Apr 2017, Steve Twiss wrote: > > 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? > > Yes please. And a space after the 'case'. Hi Lee, I have resent PATCH V7 to change "case(X):" to be "case X:". - Removed brackets surrounding case statements for case COMPAT_TYPE_DA9061: case COMPAT_TYPE_DA9062: New patch is here: https://lkml.org/lkml/2017/4/3/462 The patch it is called by the same title "[PATCH V7 4/7] mfd: da9061: MFD core support". I've not updated the whole patch-set or changed the patch version number from V7. Regards, Steve