On Tue, Jun 18, 2013 at 12:57 PM, Stijn Devriendt <high...@gmail.com> wrote: > On Thu, Jun 6, 2013 at 4:05 PM, Archit Taneja <arc...@ti.com> 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-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html