]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
menelaus minor cleanups
authorDavid Brownell <david-b@pacbell.net>
Wed, 15 Aug 2007 10:50:54 +0000 (03:50 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 15 Aug 2007 10:50:54 +0000 (03:50 -0700)
Remove duplicate Menelaus Kconfig entry (omap tree only).

Fix Menelaus build error, and remove needless "#define DEBUG" (goes upstream).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/i2c/chips/Kconfig
drivers/i2c/chips/menelaus.c

index fd580172a9bf081d216ea8712c0af054f6c24e45..f6b492bcbc28a8ede3b2c70e3b9dbbf1393a308b 100644 (file)
@@ -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
index 1c4d8ab0b1497074465c82746b234fb835793059..624413b08815332f8e062cf469650d33a541a05b 100644 (file)
@@ -930,7 +930,7 @@ static int menelaus_set_time(struct device *dev, struct rtc_time *t)
                return 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;
        }