On Fri, May 24, 2013 at 1:21 PM, Nikolay Balandin <[email protected]> wrote:
> Use devm_kzalloc() to make cleanup paths simpler. > > Signed-off-by: Nikolay Balandin <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

