summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8998-irq.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-09-26 15:33:51 +0200
committerLee Jones <lee.jones@linaro.org>2013-10-23 17:21:39 +0200
commit5e172d751869ca6756a7276168e11d641dc6b58a (patch)
treed7a2438b1d237896f533ce02856a4975cf0d3553 /drivers/mfd/max8998-irq.c
parentmfd: palmas: Reset pm_power_off if it is set for the device (diff)
downloadlinux-5e172d751869ca6756a7276168e11d641dc6b58a.tar.xz
linux-5e172d751869ca6756a7276168e11d641dc6b58a.zip
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 <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max8998-irq.c')
0 files changed, 0 insertions, 0 deletions