drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
ddr_perf_probe() misses to call ida_simple_remove() in an error path. Jump to cpuhp_state_err to fix it. Signed-off-by: NJing Xiangfeng <jingxiangfeng@huawei.com> Reviewed-by: NDong Aisheng <aisheng.dong@nxp.com> Link: https://lore.kernel.org/r/20210617122614.166823-1-jingxiangfeng@huawei.comSigned-off-by: NWill Deacon <will@kernel.org>
Showing
想要评论请 注册 或 登录