HID: sony: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 14 Apr 2024 10:03:11 +0000 (12:03 +0200)
committerJiri Kosina <jkosina@suse.com>
Tue, 16 Apr 2024 07:50:37 +0000 (09:50 +0200)
commit45bf5edd0f9612f41be405b583af886168174e8b
tree836adb773303208b78cbdc161ff87df055039930
parent4e124ed0da2939dcd27849a3d6f41fbc537a20be
HID: sony: 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>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-sony.c