gpio: tegra: fix register address calculations for Tegra30
authorStephen Warren <swarren@nvidia.com>
Fri, 16 Mar 2012 23:35:08 +0000 (17:35 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 4 Apr 2012 19:13:13 +0000 (13:13 -0600)
commit5c1e2c9dc684f26fcc78ff4ef15dc97ed0244303
tree5d10963dbeef2a2db87cb78685716ee67423db72
parentdd775ae2549217d3ae09363e3edb305d0fa19928
gpio: tegra: fix register address calculations for Tegra30

Tegra20 and Tegra30 share the same register layout within registers, but
the addresses of the registers is a little different. Fix the driver to
cope with this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
drivers/gpio/gpio-tegra.c