lantiq: pcie: use devm_gpiod_get_optional ltq_dts_pci_cleanup
authorMathias Kresin <dev@kresin.me>
Thu, 7 Jan 2021 00:32:00 +0000 (01:32 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 12 Apr 2021 21:52:24 +0000 (23:52 +0200)
commitbbe2dff178b2d827e850908c413a753476f5b361
tree79f4aa6775ac088f9fc05844c56bc1cc468a2111
parenta3a3fcc45c31df43f3dcf5b4b5cbb055f7fd672e
lantiq: pcie: use devm_gpiod_get_optional

Use devm_gpiod_get_optional to aquire the reset gpio and get rid of
quite some code this way.

The devicetree property name changes from gpio-reset to reset-gpios due
to this change.

Signed-off-by: Mathias Kresin <dev@kresin.me>
16 files changed:
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_alphanetworks_asl56026.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_arv7519rw22.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vg3503j.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3390.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7412.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz7430.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_buffalo_wbmr-300hpd.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_lantiq_easy80920.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_vr200.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-f3.dts
target/linux/lantiq/patches-5.10/0151-lantiq-ifxmips_pcie-use-of.patch
target/linux/lantiq/patches-5.4/0151-lantiq-ifxmips_pcie-use-of.patch