On Mon, May 21, 2018 at 10:57 PM, Christian Lamparter <chunkeey@xxxxxxxxx> wrote: > This patch adds the stern warning to the kerneldoc text of both > gpiochip_add_pin[group]_range() functions in hope of detering > developers from ever using them in their DeviceTree-supported > pinctrl drivers in the future. > > For anyone affected: Please refer to Section 2.1 of > Documentation/devicetree/bindings/gpio/gpio.txt on how to > bind pinctrl and gpio drivers via the "gpio-ranges" property. > > Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx> I'm a big fan of this patch, so applied. I wouldn't mind a pr_info() warning about it at runtime too, but this is nice. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html