On Tue, Jun 18, 2013 at 12:57 PM, Stijn Devriendt <highguy@xxxxxxxxx> wrote: > On Thu, Jun 6, 2013 at 4:05 PM, Archit Taneja <archit@xxxxxx> wrote: >> +static struct pcf857x_platform_data *of_gpio_pcf857x(struct device *dev) >> +{ >> + struct pcf857x_platform_data *pdata; >> + int r; >> + >> + pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); > > > This memory is never freed, is it? Why should it, given it's allocated with devres? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html