Markus Pargmann
0f79475d04
regulator: core: Replace direct ops->disable usage
...
commit 66fda75f47 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 09:58:13 -07:00
..
2013-03-05 17:56:40 +08:00
2012-11-20 10:53:38 +09:00
2013-04-26 16:33:10 +01:00
2013-04-17 15:08:38 +01:00
2013-04-18 18:26:35 +01:00
2012-11-20 10:53:38 +09:00
2013-02-08 11:15:00 +00:00
2013-03-26 13:27:11 +00:00
2013-01-13 21:31:02 +09:00
2013-04-17 14:41:07 +01:00
2014-03-31 09:58:13 -07:00
2012-11-20 10:53:38 +09:00
2013-02-19 12:42:52 +00:00
2013-02-19 12:42:33 +00: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
2012-11-20 10:31:26 +09:00
2013-03-20 14:30:12 +01:00
2012-06-19 23:22:30 +01:00
2013-01-03 15:57:04 -08:00
2013-01-29 00:44:17 +08:00
2012-11-20 10:53:38 +09:00
2013-04-16 18:47:14 +09:00
2013-04-25 11:50:23 +01:00
2013-04-23 11:39:27 +01:00
2013-04-23 11:39:33 +01:00
2013-01-27 11:00:25 +08:00
2013-04-25 11:50:23 +01:00
2013-04-03 18:46:29 +01:00
2013-03-29 17:49:07 +00:00
2013-04-28 02:13:41 +01:00
2013-04-28 02:13:37 +01:00
2013-04-28 02:11:19 +01:00
2013-01-30 18:50:27 +08:00
2013-03-04 10:49:21 +08:00
2013-04-26 18:17:01 +01:00
2013-04-24 10:52:28 +01:00
2013-04-15 17:21:18 +01:00
2013-03-04 10:53:01 +08:00
2013-04-28 02:07:52 +01:00
2013-04-28 02:10:00 +01:00
2013-04-28 02:10:00 +01:00
2013-04-28 02:10:00 +01:00
2013-04-28 02:13:36 +01:00
2013-01-30 10:11:06 +08:00
2013-05-30 11:55:55 +01:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:00 +09:00
2013-04-16 12:22:06 +01:00
2013-01-31 14:45:11 +08:00
2013-04-28 02:13:46 +01:00
2012-11-20 10:53:38 +09:00
2013-04-25 11:48:37 +01:00
2013-04-28 02:13:37 +01:00
2013-06-24 12:37:47 +01:00
2013-02-13 12:58:40 +00:00
2013-04-23 11:26:56 +01:00
2013-04-28 02:13:47 +01:00
2013-01-31 14:42:05 +08:00
2013-01-24 18:58:33 +08:00
2013-04-23 11:41:06 +01:00
2012-11-20 10:53:38 +09:00
2013-04-23 11:47:38 +01:00
2013-04-28 02:13:49 +01:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:33 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-06-17 20:53:58 +01:00
2012-11-20 10:53:38 +09:00
2013-04-11 17:56:21 +01:00