forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/regulator/max77802-regulator.c
....@@ -14,9 +14,7 @@
1414 #include <linux/kernel.h>
1515 #include <linux/bug.h>
1616 #include <linux/err.h>
17
-#include <linux/gpio.h>
1817 #include <linux/slab.h>
19
-#include <linux/gpio/consumer.h>
2018 #include <linux/module.h>
2119 #include <linux/platform_device.h>
2220 #include <linux/regulator/driver.h>
....@@ -248,9 +246,9 @@
248246 unsigned int ramp_value;
249247
250248 if (id > MAX77802_BUCK4) {
251
- dev_warn(&rdev->dev,
252
- "%s: regulator: ramp delay not supported\n",
253
- rdev->desc->name);
249
+ dev_warn(&rdev->dev,
250
+ "%s: regulator: ramp delay not supported\n",
251
+ rdev->desc->name);
254252 return -EINVAL;
255253 }
256254 ramp_value = max77802_find_ramp_value(rdev, ramp_table_77802_2bit,