[PATCH 2/6] powerpc/85xx: consolidate of_platform_bus_probe calls
Kumar Gala
galak at kernel.crashing.org
Thu Nov 24 18:15:40 EST 2011
On Nov 17, 2011, at 11:56 AM, Dmitry Eremin-Solenikov wrote:
> 85xx board files have a lot of duplication in *_publish_devices()/
> *_declare_of_platform_devices() functions. Merge that into a single
> function common to most of the boards.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
> arch/powerpc/platforms/85xx/ksi8560.c | 17 +---------
> arch/powerpc/platforms/85xx/mpc8536_ds.c | 14 +-------
> arch/powerpc/platforms/85xx/mpc85xx.h | 2 +
> arch/powerpc/platforms/85xx/mpc85xx_ads.c | 18 +----------
> arch/powerpc/platforms/85xx/mpc85xx_cds.c | 14 +-------
> arch/powerpc/platforms/85xx/mpc85xx_common.c | 16 +++++++++
> arch/powerpc/platforms/85xx/mpc85xx_ds.c | 18 ++---------
> arch/powerpc/platforms/85xx/mpc85xx_mds.c | 44 +------------------------
> arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 16 +--------
> arch/powerpc/platforms/85xx/p1022_ds.c | 5 +--
> arch/powerpc/platforms/85xx/sbc8548.c | 18 ++---------
> arch/powerpc/platforms/85xx/sbc8560.c | 18 +----------
> arch/powerpc/platforms/85xx/socrates.c | 12 +------
> arch/powerpc/platforms/85xx/stx_gp3.c | 14 +-------
> arch/powerpc/platforms/85xx/tqm85xx.c | 14 +-------
> arch/powerpc/platforms/85xx/xes_mpc85xx.c | 18 ++---------
> 16 files changed, 40 insertions(+), 218 deletions(-)
applied to next
- k
More information about the Linuxppc-dev
mailing list