On Thu, Jul 20, 2017 at 11:42 AM, Keerthy <j-keerthy@xxxxxx> wrote: > Use the devm version of gpiochip_add_data and pass on the > return value. This avoids memory leak due to gpiochip_add_data > in case the driver is unbound. > > Signed-off-by: Keerthy <j-keerthy@xxxxxx> Patch applied. 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