diff options
author | Tero Kristo <tero.kristo@nokia.com> | 2010-05-03 18:53:57 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-12 12:39:17 -0400 |
commit | c872670799d5a41fe2c1f2ccf7c531b5661dcfba (patch) | |
tree | bd62ea3c2e2445b1cbd835dc6afee96fc2308fb3 /arch/arm | |
parent | 8865b9b6d5e1601453ea20c37eb981c6ccc3f4e9 (diff) |
OMAP3: GPIO: Removed a couple of unneeded registers from context save/restore
setwkuena and setdataout are covered already by wake_en and dataout fields.
Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index c6e1de527116..b895cc9c6b78 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -305,8 +305,6 @@ struct omap3_gpio_regs { | |||
305 | u32 risingdetect; | 305 | u32 risingdetect; |
306 | u32 fallingdetect; | 306 | u32 fallingdetect; |
307 | u32 dataout; | 307 | u32 dataout; |
308 | u32 setwkuena; | ||
309 | u32 setdataout; | ||
310 | }; | 308 | }; |
311 | 309 | ||
312 | static struct omap3_gpio_regs gpio_context[OMAP34XX_NR_GPIOS]; | 310 | static struct omap3_gpio_regs gpio_context[OMAP34XX_NR_GPIOS]; |
@@ -2241,10 +2239,6 @@ void omap_gpio_save_context(void) | |||
2241 | __raw_readl(bank->base + OMAP24XX_GPIO_FALLINGDETECT); | 2239 | __raw_readl(bank->base + OMAP24XX_GPIO_FALLINGDETECT); |
2242 | gpio_context[i].dataout = | 2240 | gpio_context[i].dataout = |
2243 | __raw_readl(bank->base + OMAP24XX_GPIO_DATAOUT); | 2241 | __raw_readl(bank->base + OMAP24XX_GPIO_DATAOUT); |
2244 | gpio_context[i].setwkuena = | ||
2245 | __raw_readl(bank->base + OMAP24XX_GPIO_SETWKUENA); | ||
2246 | gpio_context[i].setdataout = | ||
2247 | __raw_readl(bank->base + OMAP24XX_GPIO_SETDATAOUT); | ||
2248 | } | 2242 | } |
2249 | } | 2243 | } |
2250 | 2244 | ||
@@ -2277,10 +2271,6 @@ void omap_gpio_restore_context(void) | |||
2277 | bank->base + OMAP24XX_GPIO_FALLINGDETECT); | 2271 | bank->base + OMAP24XX_GPIO_FALLINGDETECT); |
2278 | __raw_writel(gpio_context[i].dataout, | 2272 | __raw_writel(gpio_context[i].dataout, |
2279 | bank->base + OMAP24XX_GPIO_DATAOUT); | 2273 | bank->base + OMAP24XX_GPIO_DATAOUT); |
2280 | __raw_writel(gpio_context[i].setwkuena, | ||
2281 | bank->base + OMAP24XX_GPIO_SETWKUENA); | ||
2282 | __raw_writel(gpio_context[i].setdataout, | ||
2283 | bank->base + OMAP24XX_GPIO_SETDATAOUT); | ||
2284 | } | 2274 | } |
2285 | } | 2275 | } |
2286 | #endif | 2276 | #endif |