]> git.itanic.dy.fi Git - linux-stable/commit
rtc: class: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 19 Dec 2023 05:07:12 +0000 (06:07 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 8 Jan 2024 00:48:51 +0000 (01:48 +0100)
commite3d3fe7e7bf08820a83c9d9a4c38c7b29a2927f1
tree0dc8fbe751c352a3bb65c19e900ea3c35d083ed6
parent54e1898e113dc65974103620bbe7a9f856f80f6e
rtc: class: Remove usage of the deprecated ida_simple_xx() API

ida_alloc() and ida_free() should be preferred to the deprecated
ida_simple_get() and ida_simple_remove().

This is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4f2c049cb09d46fed336e22445c71988b4f340d6.1702962419.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/class.c