[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63386a3d0905200136i64bde4acw8944443a005f5d30@mail.gmail.com>
Date: Wed, 20 May 2009 10:36:22 +0200
From: Linus Walleij <linus.ml.walleij@...il.com>
To: Ben Dooks <ben-linux@...ff.org>
Cc: linux-kernel@...r.kernel.org, sameo@...ux.intel.com,
linux-i2c@...r.kernel.org,
Linus Walleij <linus.walleij@...ricsson.com>
Subject: Re: [PATCH 1/1] MFD: Add U300 AB3100 core support v3
Thanks Ben, v4 due soon..
2009/5/20 Ben Dooks <ben-linux@...ff.org>:
>> +#define AB3100_DEVICE(devname, devid, regstart, regend) \
>> +static struct resource ab3100_##devname##_resource[] = { \
>> + { \
>> + .start = regstart, \
>> + .end = regend, \
>> + .flags = IORESOURCE_IO, \
>> + } \
>
> is IORESOURCE_IO a good idea here, we may need to add some form of
> flag to say 'generic data' and for the driver core to not try and
> register it with any of the ioport or iomem structures.
I'll remove it for the time being, it's not used currently anyway.
Yell if you want me to create a patch to include/linux/platform_devices.h
for this too...
>> + {
>> + .id = 0xc8,
>> + .name = "P2B/R2B"
>> + },
>
> doing }, { would makes these shorter still.
Yeah CodingStyle actually say so if I read it closely, I'll fix.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists