]> git.ipfire.org Git - thirdparty/u-boot.git/commit
pinctrl: exynos: Convert to use livetree API for fdt access
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 30 Nov 2023 20:13:52 +0000 (14:13 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jan 2024 15:59:28 +0000 (10:59 -0500)
commit5bf111b77c8d819fd5e30734b72c5f70518d690d
treeab5f4057a82bbb185f0eba1e5829fb3946d37e41
parentda06fefcef7bf1d985338f08810e90c7f504bfad
pinctrl: exynos: Convert to use livetree API for fdt access

Use counterpart dev_read_* functions instead of fdt* ones. It fixes
checkpatch warnings like this:

    WARNING: Use the livetree API (dev_read_...)
    #54: FILE: drivers/pinctrl/exynos/pinctrl-exynos.c:137:
        pinvals[idx] = fdtdec_get_int(fdt, node,

and also makes it possible to avoid using the global data pointer in the
driver.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/pinctrl/exynos/pinctrl-exynos.c