summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8997.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-18 02:52:28 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-23 14:20:26 +0200
commit6c9eeb0f5cac0d9fd05c138f1eec86a7f70630ce (patch)
tree6c849747ec3ba42e16f5299c1c40da1948631fda /drivers/regulator/max8997.c
parentregulator: max8997: Remove empty set_suspend_enable callback implementation (diff)
downloadlinux-6c9eeb0f5cac0d9fd05c138f1eec86a7f70630ce.tar.xz
linux-6c9eeb0f5cac0d9fd05c138f1eec86a7f70630ce.zip
regulator: Remove unneeded include of linux/delay.h from regulator drivers
All the drivers that need delay for the regulator voltage output voltage to stabilize after being enabled or after being set to a new value has been converted to implement enable_time and set_voltage_time_sel callbacks. Then regulator core will take care of the necessary delay. For the drivers that don't need the delay, don't need to include linux/delay.h. This patch removes the unneeded include of linux/delay.h in regulator drivers. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max8997.c')
-rw-r--r--drivers/regulator/max8997.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
index ccfd6f39ad18..90e2112f7e65 100644
--- a/drivers/regulator/max8997.c
+++ b/drivers/regulator/max8997.c
@@ -22,7 +22,6 @@
*/
#include <linux/bug.h>
-#include <linux/delay.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/slab.h>