Markus Pargmann
72f38a2c60
regulator: core: Replace direct ops->disable usage
...
commit 66fda75f47dc583f1c187556e9a2c082dd64f8c6 upstream.
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.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-31 10:05:15 -07:00
..
2013-10-11 12:49:16 +01:00
2013-09-17 00:27:55 +01:00
2013-09-17 00:27:55 +01:00
2013-09-30 18:10:52 +01:00
2013-09-30 18:10:52 +01:00
2013-07-03 11:56:38 -07:00
2013-09-17 00:27:55 +01:00
2013-10-24 11:11:32 +01:00
2013-09-17 00:27:54 +01:00
2013-11-15 14:26:54 +00:00
2013-10-24 11:11:37 +01:00
2013-12-02 18:02:34 +00:00
2014-03-31 10:05:15 -07:00
2013-10-24 11:11:37 +01:00
2013-10-24 11:11:33 +01:00
2013-09-17 00:27:56 +01:00
2014-03-06 22:06:25 -08:00
2013-09-30 18:11:30 +01:00
2013-08-06 17:46:15 +01:00
2013-03-01 06:04:44 +00:00
2013-05-08 13:42:30 +01:00
2013-04-02 23:05:28 +01:00
2013-10-18 00:56:05 +01:00
2012-11-20 10:31:26 +09:00
2010-10-28 22:40:32 +01:00
2013-09-17 00:28:40 +01:00
2012-06-19 23:22:30 +01:00
2013-10-15 13:21:44 +01:00
2013-11-24 14:02:48 +00:00
2013-10-11 12:49:12 +01:00
2013-09-17 00:28:45 +01:00
2013-09-17 00:28:42 +01:00
2013-10-24 11:11:40 +01:00
2013-09-30 18:10:59 +01:00
2013-10-15 13:23:01 +01:00
2013-07-30 12:24:20 +01:00
2013-09-01 13:50:16 +01:00
2013-09-30 18:10:59 +01:00
2013-09-30 18:10:59 +01:00
2013-10-24 11:11:40 +01:00
2013-09-17 00:28:40 +01:00
2013-09-17 00:28:40 +01:00
2013-09-17 00:28:41 +01:00
2013-09-17 00:28:41 +01:00
2013-09-30 18:10:59 +01:00
2013-07-30 12:24:20 +01:00
2013-09-17 00:28:41 +01:00
2013-10-24 11:11:38 +01:00
2013-09-17 00:28:41 +01:00
2013-09-17 00:28:44 +01:00
2013-09-17 00:28:44 +01:00
2013-04-28 02:10:00 +01:00
2013-04-28 02:10:00 +01:00
2013-10-24 11:11:38 +01:00
2013-09-17 00:28:42 +01:00
2013-09-18 17:13:02 +01:00
2013-10-24 11:11:39 +01:00
2013-09-30 18:11:00 +01:00
2013-09-30 18:11:00 +01:00
2013-12-09 17:19:30 +00:00
2013-09-17 00:28:42 +01:00
2013-12-16 11:30:39 +00:00
2013-12-12 18:19:26 -08:00
2013-10-03 14:43:04 +01:00
2013-10-24 11:11:41 +01:00
2013-10-24 11:11:41 +01:00
2013-09-17 00:28:43 +01:00
2013-09-30 18:11:30 +01:00
2013-10-24 11:11:43 +01:00
2013-09-17 00:28:42 +01:00
2013-09-17 00:28:43 +01:00
2013-10-24 11:11:42 +01:00
2013-10-24 11:11:42 +01:00
2013-10-24 11:11:37 +01:00
2013-11-15 16:47:22 -08:00
2013-10-24 11:11:37 +01:00
2013-09-17 00:28:44 +01:00
2013-09-30 18:11:03 +01:00
2013-07-30 12:24:20 +01:00
2013-09-30 18:11:03 +01:00
2013-07-30 12:24:20 +01:00
2013-09-17 00:27:54 +01:00
2013-09-17 00:27:54 +01:00
2013-10-24 11:11:37 +01:00
2013-10-24 11:11:37 +01:00
2013-10-24 11:11:37 +01:00
2013-09-17 00:27:55 +01:00