Re: [PATCH] ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()

From: yukuai (C)
Date: Tue Jul 21 2020 - 09:11:15 EST


On 2020/7/18 6:55, Alexandre Belloni wrote:

A better fix would have been to also factorize imx_suspend_alloc_ocram,
imx6q_suspend_init, socfpga_setup_ocram_self_refresh and
at91_pm_sram_init as they were all copied from pm-imx6.c

imx_suspend_alloc_ocram and imx6q_suspend_init are done areadly,
socfpga_setup_ocram_self_refresh and at91_pm_sram_init still need to
fix. Thanks for pointing out!

Yu Kuai