summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-02-20 17:36:04 +0100
committerMark Brown <broonie@linaro.org>2014-02-25 10:31:45 +0900
commit66fda75f47dc583f1c187556e9a2c082dd64f8c6 (patch)
tree58fc2ec4e98cd7e80d30637d53844a86cf703073 /net/netlink
parent30c219710358c5cca2f8bd2e9e547c6aadf7cf8b (diff)
downloadop-kernel-dev-66fda75f47dc583f1c187556e9a2c082dd64f8c6.zip
op-kernel-dev-66fda75f47dc583f1c187556e9a2c082dd64f8c6.tar.gz
regulator: core: Replace direct ops->disable usage
There are many places where ops->disable is called directly. Instead we should use _regulator_do_disable() which also handles gpio regulators. To be able to use the wrapper function from _regulator_force_disable(), I moved the _notifier_call_chain() call from _regulator_do_disable() to _regulator_disable(). This way, _regulator_force_disable() can use different flags for _notifier_call_chain() without calling it twice. Cc: <stable@vger.kernel.org> # 3.10+ Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud