thermal: Directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Fri, 27 May 2022 07:34:45 +0000 (07:34 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jun 2022 14:05:35 +0000 (16:05 +0200)
commit5a5b7d8d541684925dc98646ba5016cbcc017855
tree7928d2cbc2dbb232e9b918b031b77ec995bec4a0
parentb13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
thermal: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove() as recommended.

Signed-off-by: keliu <liuke94@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c