summaryrefslogtreecommitdiff
path: root/lib/generic-radix-tree.c
diff options
context:
space:
mode:
authorPeng Wu <wupeng58@huawei.com>2022-11-22 11:22:42 +0300
committerMark Brown <broonie@kernel.org>2022-11-22 20:05:05 +0300
commitc957387c402a1a213102e38f92b800d7909a728d (patch)
treeae9b497f29d0caf83e8148c86d6325f73ad84db5 /lib/generic-radix-tree.c
parent9211402fe72428bffe8e474448e671deeb6c52cb (diff)
downloadlinux-c957387c402a1a213102e38f92b800d7909a728d.tar.xz
regulator: of: fix a NULL vs IS_ERR() check in of_regulator_bulk_get_all()
The regulator_get() function never returns NULL. It returns error pointers. Fixes: 27b9ecc7a9ba ("regulator: Add of_regulator_bulk_get_all") Signed-off-by: Peng Wu <wupeng58@huawei.com> Link: https://lore.kernel.org/r/20221122082242.82937-1-wupeng58@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/generic-radix-tree.c')
0 files changed, 0 insertions, 0 deletions