]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: Remove usage of the deprecated ida_simple_xxx API
authorBo Liu <liubo03@inspur.com>
Mon, 26 Sep 2022 01:27:44 +0000 (21:27 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Sep 2022 00:33:11 +0000 (17:33 -0700)
commitab7ea1e73532247217d3e450015dd7ece966dc0e
treeac8c0313ba03d732292fa7c7f63155986667edac
parent62e56ef57c04c0cacb33433d7984a4d71b690b3f
ptp: Remove usage of the deprecated ida_simple_xxx API

Use ida_alloc_xxx()/ida_free() instead of
ida_simple_get()/ida_simple_remove().
The latter is deprecated and more verbose.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20220926012744.3363-1-liubo03@inspur.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_clock.c