On Fri, May 24, 2013 at 1:21 PM, Nikolay Balandin<n.a.balandin@gmail.com> wrote:> Use devm_kzalloc() to make cleanup paths simpler.>> Signed-off-by: Nikolay Balandin <nbalandin@dev.rtsoft.ru>You forgot to remove the kfree(chip); in sx150x_remove().Yours,Linus Walleij