From: Linus Walleij Date: Tue, 12 Jun 2012 10:43:06 +0000 (+0200) Subject: pinctrl: nomadik: fix up typo X-Git-Tag: v3.5-rc3~20^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85bbc19d5a9ad2b48bf8f2fd3277d6fe58f23ce;p=pandora-kernel.git pinctrl: nomadik: fix up typo Commit a60b57eddaa8af6c02cf7bbeb58ebf82881f08ac "drivers/gpio: gpio-nomadik: Add support for irqdomains" changed GPIO offset calculations to have this form: (gpio % NMK_GPIO_PER_CHIP) except in this one place for setting sleep mode, where the conversion was all wrong, and instead mod:ing the GPIO with the IRQ base which does not make any sense. So fix this up so we can use sleepmode. Reviewed-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed