pinctrl-uclass: update comment to reflect code
authorPhilip Molloy <philip.molloy@analog.com>
Mon, 7 Jul 2025 13:06:16 +0000 (13:06 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 14 Jul 2025 18:44:04 +0000 (12:44 -0600)
The logic was updated without modifying the comment above it

Fixes: 72b8c6d1ebf ("pinctrl: don't fall back to pinctrl_select_state_simple()")

Signed-off-by: Philip Molloy <philip.molloy@analog.com>
drivers/pinctrl/pinctrl-uclass.c

index d9c7689..58e070b 100644 (file)
@@ -317,8 +317,7 @@ int pinctrl_select_state(struct udevice *dev, const char *statename)
        if (!dev_has_ofnode(dev))
                return 0;
        /*
-        * Try full-implemented pinctrl first.
-        * If it fails or is not implemented, try simple one.
+        * If full-implemented pinctrl is not implemented, try simple one.
         */
        if (CONFIG_IS_ENABLED(PINCTRL_FULL))
                return pinctrl_select_state_full(dev, statename);