]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: tegra-xusb: Return void in padctl enable/disable functions
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Sun, 18 Jan 2026 18:09:31 +0000 (19:09 +0100)
committerLinus Walleij <linusw@kernel.org>
Mon, 19 Jan 2026 00:11:47 +0000 (01:11 +0100)
commit0899bab9b2364c2ff2779d0f28c86474fb09b985
tree531f4b9bd835ce8d58626496478f6fce1aa4030c
parentb339e1df67e9e7a7518c5d2a4967ef69f03a7015
pinctrl: tegra-xusb: Return void in padctl enable/disable functions

Make the padctl functions a bit simpler by returning void instead of
always '0'.  The callers - phy init/exit - still need to return 0, but
these are smaller function without if/branching.

Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c