[PATCH 1/4] powerpc/83xx: consolidate of_platform_bus_probe calls

Kumar Gala galak at kernel.crashing.org
Thu Nov 24 17:40:38 EST 2011


On Nov 17, 2011, at 8:48 AM, Dmitry Eremin-Solenikov wrote:

> 83xx board files have a lot of duplication in
> *_declare_of_platform_devices() functions. Merge that into a single
> function common to most of the boards.
> 
> The only leftover is mpc834x_itx.c board file which explicitly asks for
> fsl,pq2pro-localbus, as corresponding bindings don't provide
> "simple-bus" compatibility in localbus node.
> 
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
> arch/powerpc/platforms/83xx/asp834x.c     |   15 +--------------
> arch/powerpc/platforms/83xx/km83xx.c      |   18 +-----------------
> arch/powerpc/platforms/83xx/misc.c        |   17 +++++++++++++++++
> arch/powerpc/platforms/83xx/mpc830x_rdb.c |   13 +------------
> arch/powerpc/platforms/83xx/mpc831x_rdb.c |   14 +-------------
> arch/powerpc/platforms/83xx/mpc832x_mds.c |   18 +-----------------
> arch/powerpc/platforms/83xx/mpc832x_rdb.c |   18 +-----------------
> arch/powerpc/platforms/83xx/mpc834x_itx.c |    3 +--
> arch/powerpc/platforms/83xx/mpc834x_mds.c |   15 +--------------
> arch/powerpc/platforms/83xx/mpc836x_mds.c |   18 +-----------------
> arch/powerpc/platforms/83xx/mpc836x_rdk.c |   11 +----------
> arch/powerpc/platforms/83xx/mpc837x_mds.c |   17 +----------------
> arch/powerpc/platforms/83xx/mpc837x_rdb.c |   18 +-----------------
> arch/powerpc/platforms/83xx/mpc83xx.h     |    1 +
> arch/powerpc/platforms/83xx/sbc834x.c     |   15 +--------------
> 15 files changed, 31 insertions(+), 180 deletions(-)

applied to next

- k


More information about the Linuxppc-dev mailing list