[PATCH v2 1/2] serial/imx: get rid of the uses of cpu_is_mx1()

Shawn Guo shawn.guo at freescale.com
Wed Jul 6 01:53:32 EDT 2011


On Tue, Jul 05, 2011 at 11:27:55AM -0600, Grant Likely wrote:
> On Tue, Jul 5, 2011 at 9:05 AM, Shawn Guo <shawn.guo at linaro.org> wrote:
> > The patch removes all the uses of cpu_is_mx1().  Instead, it uses
> > the .id_table of platform_driver to distinguish the uart device type.
> >
> > A couple of !cpu_is_mx1() logic gets turned into IS_IMX_UART, as the
> > codes wrapped there are really IMX specific.
> >
> > It also removes macro MX1_UCR3_REF25 and MX1_UCR3_REF30 which are
> > not used anywhere.
> >
> > Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> > Cc: Sascha Hauer <s.hauer at pengutronix.de>
> > Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
> 
> Acked-by: Grant Likely <grant.likely at secretlab.ca>
> 
> Who's tree is this one going to get merged through?
> 
I think it will be easier to go Sascha's tree.  Alan, Sascha, what
do you think?

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list