diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2023-11-30 14:13:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-09 10:59:28 -0500 |
commit | 2dfcb250d03a1014ce6a2648985b8216bd1d5207 (patch) | |
tree | c807b20ffd2e16f5c7efd4eac8d678401fa684ba /lib/trace.c | |
parent | 58e84bf3d7fac6300790940176c6edf457c8fd88 (diff) |
pinctrl: exynos: Rework pin_to_bank_base() to obtain data by name
Rework pin_to_bank_base() function to obtain bank data structure by bank
name instead of getting bank base address by pin name, and rename it to
get_bank() to reflect this change. This in turn leads to the extraction
of parse_pin(), so the caller has to use it before calling get_bank().
No functional change. This is a refactoring commit which prepares
pinctrl driver code for handling different sizes of register fields,
which will be added next.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'lib/trace.c')
0 files changed, 0 insertions, 0 deletions