drm/connector: Remove usage of the deprecated ida_simple_xxx API
authorBo Liu <liubo03@inspur.com>
Fri, 17 Jun 2022 08:23:19 +0000 (04:23 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Jun 2022 22:04:19 +0000 (00:04 +0200)
commite5d6eeead88e40282cb6dff38f8effd6341561b1
tree86c32db50b751c348c76eb41b39b98cabf1b482c
parentb00de0e237da32793dce221119c3120b8276f4ec
drm/connector: 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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220617082319.7599-1-liubo03@inspur.com
Link: https://patchwork.freedesktop.org/patch/msgid/20220621190055.8323-1-jiangjian@cdjrlc.com
drivers/gpu/drm/drm_connector.c