gpio: syscon: Remove usage of syscon_regmap_lookup_by_compatible
authorAlexander Shiyan <eagle.alexander923@gmail.com>
Wed, 20 Apr 2022 06:51:02 +0000 (09:51 +0300)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 2 May 2022 08:41:33 +0000 (10:41 +0200)
commit2e9cf8458d3fcf0823dd02d3f9ffa2c62d5f6a2c
tree4edbcb16f136eae8fb1e9b30cbeac7c3031d14fa
parentfae74fb5d525f979085b6e70b883d7a7049bf15f
gpio: syscon: Remove usage of syscon_regmap_lookup_by_compatible

Since version 5.13, the standard syscon bindings have been added
to all clps711x DT nodes, so we can now use the more general
syscon_regmap_lookup_by_phandle function to get the syscon pointer.

This patch removes the usage of the syscon_regmap_lookup_by_compatible
function as it is no longer used in the driver.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-syscon.c