Message ID | 1472805280-5927-1-git-send-email-martin@kaiser.cx (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Friday, September 02, 2016 10:34:40 AM Martin Kaiser wrote: > Signed-off-by: Martin Kaiser <martin@kaiser.cx> > --- > arch/arm/mach-imx/hardware.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-imx/hardware.h b/arch/arm/mach-imx/hardware.h > index a42a6df..90e10cb 100644 > --- a/arch/arm/mach-imx/hardware.h > +++ b/arch/arm/mach-imx/hardware.h > @@ -120,7 +120,7 @@ > .type = _type, \ > } > > -/* There's a off-by-one betweem the gpio bank number and the gpiochip */ > +/* There's an off-by-one between the gpio bank number and the gpiochip */ > /* range e.g. GPIO_1_5 is gpio 5 under linux */ > #define IMX_GPIO_NR(bank, nr) (((bank) - 1) * 32 + (nr)) > > That's Betterer! ;) Reviewed-by Joshua Clayton <stillcompiling@gmail.com>
On Fri, Sep 02, 2016 at 10:34:40AM +0200, Martin Kaiser wrote: > Signed-off-by: Martin Kaiser <martin@kaiser.cx> Applied, thanks. > --- > arch/arm/mach-imx/hardware.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-imx/hardware.h b/arch/arm/mach-imx/hardware.h > index a42a6df..90e10cb 100644 > --- a/arch/arm/mach-imx/hardware.h > +++ b/arch/arm/mach-imx/hardware.h > @@ -120,7 +120,7 @@ > .type = _type, \ > } > > -/* There's a off-by-one betweem the gpio bank number and the gpiochip */ > +/* There's an off-by-one between the gpio bank number and the gpiochip */ > /* range e.g. GPIO_1_5 is gpio 5 under linux */ > #define IMX_GPIO_NR(bank, nr) (((bank) - 1) * 32 + (nr)) > > -- > 1.7.10.4 >
diff --git a/arch/arm/mach-imx/hardware.h b/arch/arm/mach-imx/hardware.h index a42a6df..90e10cb 100644 --- a/arch/arm/mach-imx/hardware.h +++ b/arch/arm/mach-imx/hardware.h @@ -120,7 +120,7 @@ .type = _type, \ } -/* There's a off-by-one betweem the gpio bank number and the gpiochip */ +/* There's an off-by-one between the gpio bank number and the gpiochip */ /* range e.g. GPIO_1_5 is gpio 5 under linux */ #define IMX_GPIO_NR(bank, nr) (((bank) - 1) * 32 + (nr))
Signed-off-by: Martin Kaiser <martin@kaiser.cx> --- arch/arm/mach-imx/hardware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)