Re: [PATCH 4/4] gpiolib: rename local offset variables to "hwgpio"

From: Alexandre Courbot
Date: Wed Feb 13 2013 - 22:12:00 EST

On Thu, Feb 14, 2013 at 7:54 AM, Ryan Mallon <rmallon@xxxxxxxxx> wrote:
> Nitpicky - Is it accurate to call these hardware numbers? Don't some of
> the platforms remap the gpio numbers? These numbers may not match
> against the platform's datasheet for example.

I'm following a suggestion by Grant and Linus W. here. This is closer
to existing convention in e.g. irqdomain.

Also at that level the GPIO numbers are local to the GPIO controller,
i.e. they are not supposed to be the GPIO numbers used by consumers
(or the datasheet for that instance).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at