twl4030_charger: remember to clean up USB regulator
authorGrond <grond66@riseup.net>
Tue, 20 Dec 2016 18:59:30 +0000 (10:59 -0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 21 Dec 2016 23:40:28 +0000 (01:40 +0200)
commit485409d4ee7959bcc682e357691c3f477beddd10
tree67da6b2bf0359afec0dfe2ecf6e322e7b1c778ad
parent147ee65b012b3ab82e004f18d8f8a9980400358f
twl4030_charger: remember to clean up USB regulator

This was causing issues when the driver was modularized.
Removing and re-inserting the driver with modprobe would cause noisy
breakage because the regulator wasn't released when the driver exited.
drivers/power/twl4030_charger.c