Revert "of: base: Introduce of_alias_get_alias_list() to check alias IDs"
authorRob Herring <robh@kernel.org>
Mon, 21 Mar 2022 16:35:29 +0000 (11:35 -0500)
committerRob Herring <robh@kernel.org>
Mon, 21 Mar 2022 16:35:29 +0000 (11:35 -0500)
commit028152260c5782504995e1fe3910ad39d4e4f34a
treeedd0259b5bc8f822d954bad2454ff5941757fd4c
parent6ac02df3fff71ddacc71e2ae79b73c16873b41c5
Revert "of: base: Introduce of_alias_get_alias_list() to check alias IDs"

This reverts commit b1078c355d76769b5ddefc67d143fbd9b6e52c05.

The single user of of_alias_get_alias_list(),
drivers/tty/serial/xilinx_uartps.c, has since been refactored and no
longer needs this function. It also contained a Smatch checker warning:

 drivers/of/base.c:2038 of_alias_get_alias_list()
 warn: passing negative bit value 's32min-(-2),0-s32max' to 'set_bit()'

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
include/linux/of.h