Re: [PATCH 3/4] mfd/mc13xxx: add support for mc13892

From: Samuel Ortiz
Date: Thu Oct 07 2010 - 14:49:22 EST


Hi Uwe,

On Thu, Oct 07, 2010 at 08:45:01PM +0200, Uwe Kleine-König wrote:
> Hi Samuel,
>
> On Wed, Sep 29, 2010 at 06:23:46PM +0200, Uwe Kleine-König wrote:
> > mc13892 is the companion PMIC for Freescale's i.MX51. It's similar enough
> > to mc13782 to support it in a single driver.
> >
> > This patch introduces enough compatibility cruft to keep all users of the
> > superseded mc13783 driver unchanged.
> >
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > ---
> > drivers/mfd/Kconfig | 9 +-
> > drivers/mfd/Makefile | 2 +-
> > drivers/mfd/mc13783-core.c | 743 --------------------------------------
> > drivers/mfd/mc13xxx-core.c | 840 +++++++++++++++++++++++++++++++++++++++++++
> > include/linux/mfd/mc13783.h | 247 ++++++-------
> > include/linux/mfd/mc13xxx.h | 154 ++++++++
> > 6 files changed, 1113 insertions(+), 882 deletions(-)
> > delete mode 100644 drivers/mfd/mc13783-core.c
> > create mode 100644 drivers/mfd/mc13xxx-core.c
> > create mode 100644 include/linux/mfd/mc13xxx.h
> >
> > [...]
> > diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
> > new file mode 100644
> > index 0000000..93258ad
> > --- /dev/null
> > +++ b/drivers/mfd/mc13xxx-core.c
> > @@ -0,0 +1,840 @@
> > +/*
> > + * Copyright 2009-2010 Pengutronix
> > + * Uwe Kleine-Koenig <u.kleine-koenig@xxxxxxxxxxxxxx>
> > + *
> > + * loosely based on an earlier driver that has
> > + * Copyright 2009 Pengutronix, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> > + *
> > + * This program is free software; you can redistribute it and/or modify it under
> > + * the terms of the GNU General Public License version 2 as published by the
> > + * Free Software Foundation.
> > + */
> > +#define DEBUG
> > +#define VERBOSE_DEBUG
> David Jander gave me a hint via private mail that I forgot to remove
> these two #defines.
> Would you care to remove these before Linus pulls? Should I send a
> patch or do you do it by hand?
I'll take care of it, don't bother.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/