OSDN Git Service

rtc: Directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Fri, 27 May 2022 07:36:36 +0000 (07:36 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 24 Jun 2022 19:44:53 +0000 (21:44 +0200)
commit592ff0c8d0648610511f4e4fb532f100168e6e0d
treed1a0936681af647de7b131bfbb9cc3c1377a701a
parentb09d633575e54e98e1362bd5c36cd9571cb71d8a
rtc: 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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220527073636.2474546-1-liuke94@huawei.com
drivers/rtc/class.c