Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933808AbcKKPuW (ORCPT ); Fri, 11 Nov 2016 10:50:22 -0500 Received: from mail1.bemta3.messagelabs.com ([195.245.230.164]:44471 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756493AbcKKPuT (ORCPT ); Fri, 11 Nov 2016 10:50:19 -0500 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNKsWRWlGSWpSXmKPExsUSt3Opse6WF6o RBscWWllMffiEzWL+kXOsFocXvWC0mH/lGqvF/a9HGS2+Xelgsrj56RurxeVdc9gsPvceYbS4 sW4fu8WThWeYLJZev8hk0br3CJD7sI/N4taMF6wO/B5r5q1h9Ng56y67x7XNYh6L97xk8ti0q pPN4861PWweO783sHt83iQXwBHFmpmXlF+RwJpx/P0x9oJd/BVnn19mbmBcwN/FyMUhJLCMUa J1z0b2LkZODjYBQ4l5b94zdjFycIgIqEice2MOUsMs8JhF4sTDN6wgNcIC1hI3rj9jArFFBGw kPr+dzwphW0ns6XkDNodFQFWiZdZ7MJtXIEDi+Jb57BDLdjBK/D/+jg0kwSmgJbFvbg8LiM0o ICvxpXE1M4jNLCAucevJfLAFEgICEkv2nGeGsEUlXj7+xwphy0us/fUEKm4v8freOxaQoyUE9 CX6GoshwoYSq6YdYIGwzSXOfugGK2EW0JRYv0sfYpOixJTuh1BnCkqcnPmEZQKj+CwkR8xC6J iFpGMWko4FjCyrGDWKU4vKUot0DQ31kooy0zNKchMzc3QNDYz1clOLixPTU3MSk4r1kvNzNzE CEwUDEOxgXP3b6RCjJAeTkiiv5lPVCCG+pPyUyozE4oz4otKc1OJDjDIcHEoSvDefA+UEi1LT UyvSMnOAKQsmLcHBoyTCuwEkzVtckJhbnJkOkTrFqCglznsAJCEAksgozYNrg6XJS4yyUsK8j ECHCPEUpBblZpagyr9iFOdgVBLmPQkyhSczrwRu+iugxUxAi2fEqYAsLklESEk1MHpaNZ18fU O+fmbHgy9fo9O/G1+NK9bnUV+yK/G7ZOEnF3Gbw7eO7Jtgz6n2aG7lotY1l/7+evz82C8ek6W fdK8VXt35YGX3yUmfJn151zVjWU6H4VtutmsH8/61hLlkRTtX64ZlF/n57L3ZymE+71Jh3/sj S8+afF9QFib+1a1ZiV3muNCUyfFKLMUZiYZazEXFiQDNXRBtjgMAAA== X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-9.tower-217.messagelabs.com!1478879412!64030671!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 9.0.16; 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 V2 05/10] mfd: da9061: MFD core support Thread-Topic: [PATCH V2 05/10] mfd: da9061: MFD core support Thread-Index: AQHSL60dgxIzFISLqUqxZNhJNzN0RaDTr98AgAAKzjA= Date: Fri, 11 Nov 2016 15:50:12 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7018CCE9AB0@SW-EX-MBX02.diasemi.com> References: <20161111103734.GD13638@dell> In-Reply-To: <20161111103734.GD13638@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: 11/11/2016 13:29: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 uABFoYYo031086 Content-Length: 1416 Lines: 46 On 11 November 2016 10:38, Lee Jones wrote: > > > +static struct resource da9061_core_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_VDD_WARN, 1, "VDD_WARN", IORESOURCE_IRQ), > > +}; > > + > > +static struct resource da9061_regulators_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_LDO_LIM, 1, "LDO_LIM", IORESOURCE_IRQ), > > +}; > > + > > +static struct resource da9061_thermal_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_TEMP, 1, "THERMAL", IORESOURCE_IRQ), > > +}; > > + > > +static struct resource da9061_wdt_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_WDG_WARN, 1, "WD_WARN", IORESOURCE_IRQ), > > +}; > > + > > +static struct resource da9061_onkey_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_ONKEY, 1, "ONKEY", IORESOURCE_IRQ), > > +}; > > These should al be: DEFINE_RES_IO_NAMED() Have altered these to DEFINE_RES_IRQ_NAMED() > > @@ -142,7 +257,7 @@ static const struct mfd_cell da9062_devs[] = { > > .name = "da9062-watchdog", > > .num_resources = ARRAY_SIZE(da9062_wdt_resources), > > .resources = da9062_wdt_resources, > > - .of_compatible = "dlg,da9062-wdt", > > + .of_compatible = "dlg,da9062-watchdog", > > This should be a separate change. Ok. reverted. > > @@ -208,6 +324,7 @@ static int da9062_get_device_type(struct da9062 *chip) > > dev_err(chip->dev, "Cannot read chip ID.\n"); > > return -EIO; > > } > > + > > Sneaky! Removed the whitespace.