2016-04-14 22:31 GMT+08:00 Axel Lin <axel.lin@xxxxxxxxxx>: > Use devm_* APIs to simplify the code a bit. > This patch also fixes the memory leak when unload the module. > > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx> > --- > Hi, > I don't have this h/w, I'd appreciate if someone can test this patch. Obviously the module unload path has memory leak. Just wondering if anyone can review/test this patch. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html