On Fri, May 24, 2013 at 1:21 PM, Nikolay Balandin <n.a.balan...@gmail.com> wrote:
> Use devm_kzalloc() to make cleanup paths simpler. > > Signed-off-by: Nikolay Balandin <nbalan...@dev.rtsoft.ru> You forgot to remove the kfree(chip); in sx150x_remove(). Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/