On Sat, Mar 3, 2018 at 1:25 PM, Andre Przywara <andre.przywara@xxxxxxx> wrote: > The Allwinner pinctrl device tree binding suggests that a clock named > "apb" would drive the pin controller IP. However (for legacy reasons) we > rely on this clock actually being the first clock defined. > Since named clocks can be in any order, let's explicitly check for a > clock called "apb" if there is more than one clock referenced. > > Kudo to Maxime for suggesting this much more elegant approach. > > Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> Patch applied with Maxime's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html