spi: clps711x: Use syscon_regmap_lookup_by_phandle
authorAlexander Shiyan <eagle.alexander923@gmail.com>
Wed, 20 Apr 2022 06:10:38 +0000 (09:10 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 13:01:09 +0000 (14:01 +0100)
commitb0ceb62125155c1f8e67d3a944af9536d93609c7
tree478d06a4fcdab8bcc4445cacc86988590b5e1769
parent1af2fb6283fb82755a6fe819f863e4c3d9772e69
spi: clps711x: Use syscon_regmap_lookup_by_phandle

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.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Link: https://lore.kernel.org/r/20220420061038.22570-1-eagle.alexander923@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-clps711x.c