[RFC 4/5] pinctrl: SPEAr: Add gpio ranges support
Linus Walleij
linus.walleij at linaro.org
Wed May 9 08:07:41 EDT 2012
On Mon, May 7, 2012 at 5:58 PM, viresh kumar <viresh.linux at gmail.com> wrote:
> On Mon, May 7, 2012 at 8:58 PM, Arnd Bergmann <arnd at arndb.de> wrote:
>> but open-coding is generally ok too. Note that you can sometimes save a lot
>> of lines if you don't first define all those constants as macros but
>> treat a table like this as the place where you put the raw numbers
>> from the data sheet, if that the only code location in which they are
>> used.
>
> Hmm. Will try to do something better.
No big deal, you can keep the table as long as I don't get Torvalds backfire
on me for introducing too many lines of code. I'm a bit sensitive about that
but it's not like it's super-important.
I've come to accept the fact that pin controller have many lines of code,
since they bascially contain the tables that other platforms put in BIOS
firmware, and these systems typically don't have BIOS:es so...
Thanks,
Linus Walleij
More information about the linux-arm-kernel
mailing list