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>
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);