diff options
author | yu kuai <yukuai3@huawei.com> | 2020-06-04 15:33:01 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-07-18 01:58:07 +0300 |
commit | f87a4f022c44e5b87e842a9f3e644fba87e8385f (patch) | |
tree | ea18cd41e9cc7e7c235a9de6222c300301df1819 /arch/arm/mach-at91/pm.h | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-f87a4f022c44e5b87e842a9f3e644fba87e8385f.tar.xz |
ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()
if of_find_device_by_node() succeed, at91_pm_sram_init() doesn't have
a corresponding put_device(). Thus add a jump target to fix the exception
handling for this function implementation.
Fixes: d2e467905596 ("ARM: at91: pm: use the mmio-sram pool to access SRAM")
Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200604123301.3905837-1-yukuai3@huawei.com
Diffstat (limited to 'arch/arm/mach-at91/pm.h')
0 files changed, 0 insertions, 0 deletions