Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: Remove unnecessary 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.

This patch removes the unneeded include of linux/delay.h in regulator drivers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Daniel Jeong <daniel.jeong@ti.com>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Chiwoong Byun <woong.byun@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

authored by

Axel Lin and committed by
Mark Brown
1586bb4a f722406f

-3
-1
drivers/regulator/lp8755.c
··· 19 19 #include <linux/interrupt.h> 20 20 #include <linux/gpio.h> 21 21 #include <linux/regmap.h> 22 - #include <linux/delay.h> 23 22 #include <linux/uaccess.h> 24 23 #include <linux/regulator/driver.h> 25 24 #include <linux/regulator/machine.h>
-1
drivers/regulator/max77686.c
··· 24 24 25 25 #include <linux/kernel.h> 26 26 #include <linux/bug.h> 27 - #include <linux/delay.h> 28 27 #include <linux/err.h> 29 28 #include <linux/gpio.h> 30 29 #include <linux/slab.h>
-1
drivers/regulator/s2mps11.c
··· 12 12 */ 13 13 14 14 #include <linux/bug.h> 15 - #include <linux/delay.h> 16 15 #include <linux/err.h> 17 16 #include <linux/gpio.h> 18 17 #include <linux/slab.h>