diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-07-02 13:40:44 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-18 15:32:18 -0400 |
commit | d78c16ccde96eddf42942c093b241b5e5135b777 (patch) | |
tree | 3bedb6c54ec937d57d8d9e3f473739a78c1ae5ad /arch/arm/plat-samsung/pm-gpio.c | |
parent | 09ee2dac4c07016c6bc7577152822996c9a7c122 (diff) |
ARM: SAMSUNG: Remove remaining legacy code
After refactoring suspend/resume, which was last part with dependencies
on legacy code, all Kconfig symbols related to Samsung ATAGS support can
be deselected and more unused code removed. This includes most of s5p-*
code as well, as s5pv210 was their last user.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/pm-gpio.c')
-rw-r--r-- | arch/arm/plat-samsung/pm-gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/pm-gpio.c b/arch/arm/plat-samsung/pm-gpio.c index da268813901b..f6084f641e6f 100644 --- a/arch/arm/plat-samsung/pm-gpio.c +++ b/arch/arm/plat-samsung/pm-gpio.c | |||
@@ -196,7 +196,7 @@ struct samsung_gpio_pm samsung_gpio_pm_2bit = { | |||
196 | .resume = samsung_gpio_pm_2bit_resume, | 196 | .resume = samsung_gpio_pm_2bit_resume, |
197 | }; | 197 | }; |
198 | 198 | ||
199 | #if defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_PLAT_S5P) | 199 | #if defined(CONFIG_ARCH_S3C64XX) |
200 | static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) | 200 | static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) |
201 | { | 201 | { |
202 | chip->pm_save[1] = __raw_readl(chip->base + OFFS_CON); | 202 | chip->pm_save[1] = __raw_readl(chip->base + OFFS_CON); |
@@ -306,7 +306,7 @@ struct samsung_gpio_pm samsung_gpio_pm_4bit = { | |||
306 | .save = samsung_gpio_pm_4bit_save, | 306 | .save = samsung_gpio_pm_4bit_save, |
307 | .resume = samsung_gpio_pm_4bit_resume, | 307 | .resume = samsung_gpio_pm_4bit_resume, |
308 | }; | 308 | }; |
309 | #endif /* CONFIG_ARCH_S3C64XX || CONFIG_PLAT_S5P */ | 309 | #endif /* CONFIG_ARCH_S3C64XX */ |
310 | 310 | ||
311 | /** | 311 | /** |
312 | * samsung_pm_save_gpio() - save gpio chip data for suspend | 312 | * samsung_pm_save_gpio() - save gpio chip data for suspend |