diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-09-26 19:03:51 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 16:21:39 +0100 |
commit | 5e172d751869ca6756a7276168e11d641dc6b58a (patch) | |
tree | d7a2438b1d237896f533ce02856a4975cf0d3553 /drivers/scsi/scsi_transport_srp_internal.h | |
parent | 7178347e1c675aefefce09357c988db0a9bf6e96 (diff) | |
download | blackbird-op-linux-5e172d751869ca6756a7276168e11d641dc6b58a.tar.gz blackbird-op-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/scsi/scsi_transport_srp_internal.h')
0 files changed, 0 insertions, 0 deletions