Angus Chen ebeb49f43c ARM: imx: Call ida_simple_remove() for ida_simple_get
The function call ida_simple_get maybe fail,we should deal with it.
And if ida_simple_get success ,it need to call ida_simple_remove also.
BTW,devm_kasprintf can handle id is zero for consistency.

Fixes: e76bdfd7403a ("ARM: imx: Added perf functionality to mmdc driver")
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-01-26 07:55:53 +08:00
..
2021-10-26 10:13:31 +01:00
2019-06-21 09:58:42 -07:00
2020-03-11 15:17:02 +08:00
2021-06-12 12:02:57 +08:00
2020-09-22 14:08:13 +08:00
2020-09-22 14:08:13 +08:00
2020-09-22 14:08:13 +08:00
2021-06-12 12:02:57 +08:00
2021-10-26 10:13:31 +01:00