regulator: Remove unnecessary include of linux/delay.h from regulator drivers
Subsystems (3)
PATCH 1/1 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 <[email protected]>
Cc Daniel Jeong <[email protected]>
Cc Sangbeom Kim <[email protected]>
Cc Chiwoong Byun <[email protected]>
--- drivers/regulator/lp8755.c | 1 - drivers/regulator/max77686.c | 1 - drivers/regulator/s2mps11.c | 1 - 3 files changed, 3 deletions(-)
drivers/regulator/lp8755.c +0 -1
@@ -19,7 +19,6 @@#include <linux/interrupt.h> #include <linux/gpio.h> #include <linux/regmap.h> -#include <linux/delay.h> #include <linux/uaccess.h> #include <linux/regulator/driver.h> #include <linux/regulator/machine.h>
drivers/regulator/max77686.c +0 -1
@@ -24,7 +24,6 @@#include <linux/kernel.h> #include <linux/bug.h> -#include <linux/delay.h> #include <linux/err.h> #include <linux/gpio.h> #include <linux/slab.h>
drivers/regulator/s2mps11.c +0 -1
@@ -12,7 +12,6 @@*/ #include <linux/bug.h> -#include <linux/delay.h> #include <linux/err.h> #include <linux/gpio.h> #include <linux/slab.h>
Signature · 1 line
1.7.10.4
Quoted 4 lines · Axel Lin
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_timeandset_voltage_time_selcallbacks. Then regulator core will take care of the necessary delay.
Applied, thanks.