diff options
| author | Markus Pargmann <[email protected]> | 2014-02-20 16:36:04 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2014-02-25 01:31:45 +0000 |
| commit | 66fda75f47dc583f1c187556e9a2c082dd64f8c6 (patch) | |
| tree | 58fc2ec4e98cd7e80d30637d53844a86cf703073 /drivers/net/xen-netback/interface.c | |
| parent | regulator: core: Replace direct ops->enable usage (diff) | |
| download | kernel-66fda75f47dc583f1c187556e9a2c082dd64f8c6.tar.gz kernel-66fda75f47dc583f1c187556e9a2c082dd64f8c6.zip | |
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: <[email protected]> # 3.10+
Signed-off-by: Markus Pargmann <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
