OSDN Git Service

regulator: cpr3-regulator: unregister CPR IRQ affinity notifier correctly
authorDavid Collins <collinsd@codeaurora.org>
Thu, 14 Apr 2016 19:04:31 +0000 (12:04 -0700)
committerJeevan Shriram <jshriram@codeaurora.org>
Thu, 12 May 2016 00:43:56 +0000 (17:43 -0700)
commit6a3914c8adef8afdccde2e757e9fdf391969dfd8
tree877beba40253c192e65a2f992f64a2c18d52aa8e
parent674b559b78f85d77614daa7966902349a26a109b
regulator: cpr3-regulator: unregister CPR IRQ affinity notifier correctly

Commit b7d5b597f16a ("regulator: cpr3-regulator: add support for
configuring CPR IRQ affinity") added a call to
register_hotcpu_notifier() but did not add a call to
unregister_hotcpu_notifier().  Correct this so that the IRQ
affinity notifier is unregistered when a cpr3-regulator device
is unregistered.

Change-Id: I6379559e201f14a0fd46c1e06761fae356ec9813
CRs-Fixed: 949650
Signed-off-by: David Collins <collinsd@codeaurora.org>
drivers/regulator/cpr3-regulator.c