On Sat, Jul 21, 2018 at 4:28 PM Hedges Alexander <ahedges@xxxxxxxxxxxxxxx> wrote: > From: Michal Simek <michal.simek@xxxxxxxxxx> > Date: Tue, 3 Sep 2013 17:06:19 +0200 > > Register driver as platform driver. > Based on this change, probe function uses devm_ > which clear incorrect kfree(chip) usage. > > Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> > Signed-off-by: Alexander Hedges <ahedges@xxxxxxx> > (cherry picked from commit 616ac116ab2dcfe603c67ea3c8f70d5889aa6fc9) This patch does not make the driver us platform driver. It is already doing that. Reword to match what it does: make driver use managed resources. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html