gnss: replace ida_simple API
authorBo Liu <liubo03@inspur.com>
Thu, 16 Jun 2022 04:47:33 +0000 (00:47 -0400)
committerJohan Hovold <johan@kernel.org>
Tue, 21 Jun 2022 07:30:36 +0000 (09:30 +0200)
commitc0c725d7350ec8b8453257676a440bb4b2df2422
treece96868bb861f9c8bfc8506104cc87dff01b8e49
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
gnss: replace ida_simple API

Use ida_alloc_xxx()/ida_free() instead of
ida_simple_get()/ida_simple_remove(), which has been deprecated.

Note that the upper bound is now inclusive.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20220616044733.3605-1-liubo03@inspur.com
Reviewed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/gnss/core.c