hwmon: Directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Tue, 17 May 2022 06:31:25 +0000 (06:31 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 May 2022 18:32:32 +0000 (11:32 -0700)
commit718fbfa5da5da0b4d030e14ed737c228ca6a7cbf
tree1b7a3b1d597d84b876762dd52e53f4e6eaa45ed4
parent5b4285c57b6f9b41f6c1def6b624da3a9b000dc6
hwmon: Directly use ida_alloc()/free()

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

Signed-off-by: keliu <liuke94@huawei.com>
Link: https://lore.kernel.org/r/20220517063126.2142637-1-liuke94@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c