menelaus minor cleanups
PATCH 1/1 menelaus minor cleanups
Remove duplicate Menelaus Kconfig entry (omap tree only).
Fix Menelaus build error, and remove needless "#define DEBUG" (goes upstream).
Signed-off-by David Brownell <[email protected]>
--- drivers/i2c/chips/Kconfig | 10 ---------- drivers/i2c/chips/menelaus.c | 3 +-- 2 files changed, 1 insertion(+), 12 deletions(-)
drivers/i2c/chips/Kconfig +0 -10
@@ -130,16 +130,6 @@ config GPIOEXPANDER_OMAP If you say yes here you get support for I/O expander calls to configure IrDA, Camera and audio devices. -config MENELAUS - bool "TWL92330/Menelaus PM chip" - depends on I2C=y && ARCH_OMAP24XX - help - If you say yes here you get support for the Texas Instruments - TWL92330/Menelaus Power Management chip. This include voltage - regulators, Dual slot memory card tranceivers, real-time clock - and other features that are often used in portable devices like - cell phones and PDAs. - config TWL4030_CORE bool "TI's TWL4030 companion chip Core Driver Support" depends on I2C=y && ARCH_OMAP24XX
drivers/i2c/chips/menelaus.c +1 -2
@@ -1,4 +1,3 @@ -#define DEBUG /* * Copyright (C) 2004 Texas Instruments, Inc. *
@@ -933,7 +932,7 @@ static int menelaus_set_time(struct devireturn status; status =menelaus_write_reg (MENELAUS_RTC_WKDAY ,BIN2BCD (t->tm_wday));if (status <0 ) { -dev_err (&the_menelaus->client->dev,"rtc write reg %02x" , +dev_err (&the_menelaus->client->dev,"rtc write reg %02x" "err %d\n" ,MENELAUS_RTC_WKDAY , status);return status; }
Quoted 3 lines · David Brownell
Remove duplicate Menelaus
Kconfigentry (omap tree only).Fix Menelaus build error, and remove needless "#define DEBUG" (goes upstream).
Pushing today, left out the -#define DEBUG part below.
Tony
Quoted 7 lines
drivers/i2c/chips/menelaus.c +0
-1@@ -1,4 +1,3 @@ -#define DEBUG /* * Copyright (C) 2004 Texas Instruments, Inc. *