ARM: lpc32xx: clean-up platform code
Subsystems (3)
Vladimir Zapolskiy
maintainercover ARM: lpc32xx: clean-up platform code
The changeset continues a series of clean-ups in NXP LPC32xx platform code:
* unnecessary header files are removed from inclusion,
* registration of SSP0 and SSP1 is removed as done through device tree,
* switched to SPDX license identifier.
Vladimir Zapolskiy (3):
ARM: lpc32xx: remove redundant included headers
ARM: lpc32xx: remove platform data of SSP0 and SSP1 controllers
ARM: lpc32xx: use SPDX license identifier
arch/arm/mach-lpc32xx/phy3250.c | 37 +++------------------------------ 1 file changed, 3 insertions(+), 34 deletions(-)
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Vladimir Zapolskiy
maintainerPATCH 1/3 ARM: lpc32xx: remove redundant included headers
While the majority of platform data was moved to device tree description the list of included header files remained untouched, the change cleans it up to an irreducible and observable subset.
--- arch/arm/mach-lpc32xx/phy3250.c | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-)
arch/arm/mach-lpc32xx/phy3250.c +2 -22
@@ -17,32 +17,12 @@* GNU General Public License for more details. */ -#include <linux/init.h> -#include <linux/platform_device.h> -#include <linux/device.h> -#include <linux/interrupt.h> -#include <linux/irq.h> -#include <linux/dma-mapping.h> -#include <linux/gpio.h> -#include <linux/amba/bus.h> -#include <linux/amba/clcd.h> #include <linux/amba/pl08x.h> -#include <linux/amba/mmci.h> -#include <linux/of.h> -#include <linux/of_address.h> -#include <linux/of_irq.h> -#include <linux/of_platform.h> -#include <linux/clk.h> -#include <linux/mtd/lpc32xx_slc.h> #include <linux/mtd/lpc32xx_mlc.h> +#include <linux/mtd/lpc32xx_slc.h> +#include <linux/of_platform.h> -#include <asm/setup.h> -#include <asm/mach-types.h> #include <asm/mach/arch.h> - -#include <mach/hardware.h> -#include <mach/platform.h> -#include <mach/board.h> #include "common.h" static struct pl08x_channel_data pl08x_slave_channels[] = {
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Vladimir Zapolskiy
maintainerPATCH 2/3 ARM: lpc32xx: remove platform data of SSP0 and SSP1 controllers
In reply to Vladimir ZapolskiyBoth controllers are described in lpc32xx.dtsi and there is no any specific platform data added in the platform file.
--- arch/arm/mach-lpc32xx/phy3250.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-lpc32xx/phy3250.c +0 -2
@@ -70,8 +70,6 @@ static struct lpc32xx_mlc_platform_data lpc32xx_mlc_data = { };static const struct of_dev_auxdata lpc32xx_auxdata_lookup[]__initconst = { -OF_DEV_AUXDATA ("arm,pl022" ,0x20084000 ,"dev:ssp0" ,NULL ), -OF_DEV_AUXDATA ("arm,pl022" ,0x2008C000 ,"dev:ssp1" ,NULL ),OF_DEV_AUXDATA ("arm,pl080" ,0x31000000 ,"pl08xdmac" , &pl08x_pd),OF_DEV_AUXDATA ("nxp,lpc3220-slc" ,0x20020000 ,"20020000.flash" , &lpc32xx_slc_data),
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Vladimir Zapolskiy
maintainerPATCH 3/3 ARM: lpc32xx: use SPDX license identifier
In reply to Vladimir ZapolskiyReplace GPLv2+ header with the SPDX identifier.
--- arch/arm/mach-lpc32xx/phy3250.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-)
arch/arm/mach-lpc32xx/phy3250.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Platform support for LPC32xx SoC *
@@ -5,16 +6,6 @@* * Copyright (C) 2012 Roland Stigge <[email protected]> * Copyright (C) 2010 NXP Semiconductors -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/amba/pl08x.h>
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel