diff options
author | Emil Renner Berthing <emil.renner.berthing@canonical.com> | 2024-10-11 16:48:25 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-10-11 21:27:41 +0200 |
commit | 1fc30cd9277063bb797eeafe73a1f3faa6177492 (patch) | |
tree | 8a3281cec09d6ffae7981acd28e7f17c5aa5c679 /drivers/pinctrl/qcom/pinctrl-sc7280.c | |
parent | d1e16e219901965e6c0715adb92750ed865fda43 (diff) |
pinctrl: th1520: Factor out casts
Limit the casts to get the mux data and flags from the driver data
pointer with each pin to two inline functions as requested by Andy
during review.
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Reviewed-by: Drew Fustini <dfustini@tenstorrent.com>
Tested-by: Drew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/20241011144826.381104-4-emil.renner.berthing@canonical.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom/pinctrl-sc7280.c')
0 files changed, 0 insertions, 0 deletions