Comments fixed in this patch
Incorrect comments
consumer.h header file is not required
dump_reg is removed

Signed-off-by: Manikandan Pillai <[EMAIL PROTECTED]>
---
 drivers/regulator/tps6235x-regulator.c |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/drivers/regulator/tps6235x-regulator.c 
b/drivers/regulator/tps6235x-regulator.c
index 26ddb78..1c8c16c 100644
--- a/drivers/regulator/tps6235x-regulator.c
+++ b/drivers/regulator/tps6235x-regulator.c
@@ -19,7 +19,6 @@
 #include <linux/regulator/machine.h>
 #include <linux/i2c.h>
 #include <linux/delay.h>
-#include <linux/regulator/consumer.h>
 
 /* Minimum and Maximum dc-dc voltage supported by the TPS6235x devices
 All voltages given in millivolts */
@@ -28,7 +27,7 @@ All voltages given in millivolts */
 #define PR785_MIN_MPU_VOLT      750
 #define PR785_MAX_MPU_VOLT      1537
 
-/* Maximum number of bytes to be read in a single read */
+/* Maximum number of Retry count */
 #define PR785_RETRY_COUNT       0x3
 
 /* Register bit settings */
@@ -77,17 +76,6 @@ static struct tps_6235x_info    tps_6235x_infodata[2];
 
 #define        MODULE_NAME             "tps6235x_power"
 
-/* Debug functions */
-#ifdef DEBUG
-
-#define dump_reg(client, reg, val)                                      \
-       do {                                                            \
-               tps6235x_read_reg(client, reg, &val);                   \
-               dev_dbg(&(client)->dev, "Reg(0x%.2X): 0x%.2X\n", reg, val); \
-       } while (0)
-
-#endif /* #ifdef DEBUG */
-
 /* Device addresses for PR785 card */
 #define        PR785_62352_CORE_ADDR   0x4A
 #define        PR785_62353_MPU_ADDR    0x48
-- 
1.5.6

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to