From 5e172d751869ca6756a7276168e11d641dc6b58a Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 26 Sep 2013 19:03:51 +0530 Subject: [PATCH] mfd: palmas: Fix resource leak of i2c_dummy devices Palmas device supports multiple i2c device address and the client for these addressed are created in the driver as i2c_new_dummy(). The new devices are not getting released in error or removal path and so it is causing resource leak. Add the unregister of these newly created dummy devices to avoid resource leaks. Signed-off-by: Laxman Dewangan Signed-off-by: Lee Jones --- Reading git-format-patch failed