diff options
author | Steven Miao <realmz6@gmail.com> | 2014-07-16 08:23:08 +0200 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2014-07-26 02:32:44 +0200 |
commit | c6a26ce9af9eca685bdd766bcc1dbc855394880b (patch) | |
tree | da6acc64a8ae5fef612567cb4c51133dac78ffc8 /arch/blackfin/mach-bf609/pm.c | |
parent | Linux 3.16-rc6 (diff) | |
download | linux-c6a26ce9af9eca685bdd766bcc1dbc855394880b.tar.xz linux-c6a26ce9af9eca685bdd766bcc1dbc855394880b.zip |
pm: bf609: cleanup smc nor flash
drop smc pin state change code, pin state will be saved in pinctrl-adi2 driver
cleanup nor flash init/exit for pm suspend/resume
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | arch/blackfin/mach-bf609/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf609/pm.c b/arch/blackfin/mach-bf609/pm.c index 0cdd6955c7be..b1bfcf434d16 100644 --- a/arch/blackfin/mach-bf609/pm.c +++ b/arch/blackfin/mach-bf609/pm.c @@ -291,13 +291,13 @@ static struct bfin_cpu_pm_fns bf609_cpu_pm = { #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) static int smc_pm_syscore_suspend(void) { - bf609_nor_flash_exit(); + bf609_nor_flash_exit(NULL); return 0; } static void smc_pm_syscore_resume(void) { - bf609_nor_flash_init(); + bf609_nor_flash_init(NULL); } static struct syscore_ops smc_pm_syscore_ops = { |