ARM: socfpga: add missing put_device() call in socfpga_setup_ocram_self_refresh()
Quoted 3 lines
if
of_find_device_by_node()succeed,socfpga_setup_ocram_self_refresh()doesn't have a correspondingput_device(). Thus add a jump target to fix the exception handling for this function implementation.
Do you find a previous update suggestion interesting?
ARM: socfpga: PM: Add missing put_device() call in socfpga_setup_ocram_self_refresh()
https://lore.kernel.org/linux-arm-kernel/[email protected]/
https://lore.kernel.org/patchwork/patch/1151166/
https://lkml.org/lkml/2019/11/9/156
Do you propose to adjust the source code a bit more?
Regards,
Markus