Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1519873
| From | Steve Twiss <stwiss.opensource@diasemi.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH V2 05/10] mfd: da9061: MFD core support |
| Date | 2016-11-11 17:00 +0100 |
| Message-ID | <sCmpb-6c5-21@gated-at.bofh.it> (permalink) |
| References | <swAbv-6Tj-3@gated-at.bofh.it> <swAbx-6Tj-75@gated-at.bofh.it> <sChpv-392-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH V2 05/10] mfd: da9061: MFD core support Lee Jones <lee.jones@linaro.org> - 2016-11-11 11:40 +0100 RE: [PATCH V2 05/10] mfd: da9061: MFD core support Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-11 17:00 +0100
csiph-web