linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Replace reference to of_device with platform_device in arch and drivers/of/* code
@ 2010-07-22 22:30 Grant Likely
  2010-07-22 22:30 ` [PATCH 1/4] of/device: Replace of_device with platform_device in includes and core code Grant Likely
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Grant Likely @ 2010-07-22 22:30 UTC (permalink / raw)
  To: sfr, monstr, microblaze-uclinux, devicetree-discuss, linux-kernel,
	linuxppc-dev, benh, sparclinux, davem

This series removes a lot of references to struct of_device which is
just a #define alias to struct platform_device.  It also replaces usage
of to_of_device() with to_platform_device().  There shouldn't be anything
risky or earth shattering here.  Certainly no functional changes.  I'll
be putting it into my experimental branch for compile testing on multiple
architectures before pushing it out to linux-next next week.

Similar patches to change over drivers/* will come later.

g.

---

Grant Likely (4):
      of/device: Replace of_device with platform_device in includes and core code
      powerpc: remove references to of_device and to_of_device
      sparc: remove references to of_device and to_of_device
      microblaze: remove references to of_device and to_of_device


 arch/microblaze/kernel/of_platform.c          |    6 +++---
 arch/powerpc/include/asm/macio.h              |    2 +-
 arch/powerpc/kernel/ibmebus.c                 |    8 ++++----
 arch/powerpc/kernel/of_platform.c             |    8 ++++----
 arch/powerpc/platforms/512x/clock.c           |    2 +-
 arch/powerpc/platforms/52xx/mpc52xx_gpio.c    |    6 +++---
 arch/powerpc/platforms/52xx/mpc52xx_gpt.c     |    4 ++--
 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |    6 +++---
 arch/powerpc/platforms/82xx/ep8248e.c         |    4 ++--
 arch/powerpc/platforms/83xx/suspend.c         |    6 +++---
 arch/powerpc/platforms/cell/axon_msi.c        |    4 ++--
 arch/powerpc/platforms/pasemi/gpio_mdio.c     |    4 ++--
 arch/powerpc/sysdev/axonram.c                 |   12 ++++++------
 arch/powerpc/sysdev/bestcomm/bestcomm.c       |    7 +++----
 arch/powerpc/sysdev/fsl_msi.c                 |    4 ++--
 arch/powerpc/sysdev/fsl_pmc.c                 |    3 ++-
 arch/powerpc/sysdev/fsl_rio.c                 |    4 ++--
 arch/powerpc/sysdev/pmi.c                     |    6 +++---
 arch/powerpc/sysdev/qe_lib/qe.c               |    5 +++--
 arch/sparc/include/asm/floppy_64.h            |    6 +++---
 arch/sparc/include/asm/parport.h              |    4 ++--
 arch/sparc/include/asm/prom.h                 |    2 +-
 arch/sparc/kernel/apc.c                       |    4 ++--
 arch/sparc/kernel/auxio_64.c                  |    3 ++-
 arch/sparc/kernel/central.c                   |    4 ++--
 arch/sparc/kernel/chmc.c                      |   12 ++++++------
 arch/sparc/kernel/ioport.c                    |    2 +-
 arch/sparc/kernel/of_device_32.c              |   14 +++++++-------
 arch/sparc/kernel/of_device_64.c              |   16 ++++++++--------
 arch/sparc/kernel/of_device_common.c          |   14 +++++++-------
 arch/sparc/kernel/pci.c                       |    4 ++--
 arch/sparc/kernel/pci_fire.c                  |    4 ++--
 arch/sparc/kernel/pci_impl.h                  |    2 +-
 arch/sparc/kernel/pci_psycho.c                |    6 +++---
 arch/sparc/kernel/pci_sabre.c                 |    6 +++---
 arch/sparc/kernel/pci_schizo.c                |   10 +++++-----
 arch/sparc/kernel/pci_sun4v.c                 |    4 ++--
 arch/sparc/kernel/pmc.c                       |    2 +-
 arch/sparc/kernel/power.c                     |    2 +-
 arch/sparc/kernel/prom_irqtrans.c             |    2 +-
 arch/sparc/kernel/psycho_common.c             |    2 +-
 arch/sparc/kernel/psycho_common.h             |    2 +-
 arch/sparc/kernel/sbus.c                      |   16 ++++++++--------
 arch/sparc/kernel/time_32.c                   |    2 +-
 arch/sparc/kernel/time_64.c                   |    6 +++---
 arch/sparc/mm/io-unit.c                       |    4 ++--
 arch/sparc/mm/iommu.c                         |    4 ++--
 drivers/of/device.c                           |   22 +++++++++++-----------
 drivers/of/platform.c                         |   24 ++++++++++++------------
 include/linux/of_device.h                     |   10 +++++-----
 include/linux/of_platform.h                   |   16 ++++++++--------
 51 files changed, 167 insertions(+), 165 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-23  5:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 22:30 [PATCH 0/4] Replace reference to of_device with platform_device in arch and drivers/of/* code Grant Likely
2010-07-22 22:30 ` [PATCH 1/4] of/device: Replace of_device with platform_device in includes and core code Grant Likely
2010-07-23  5:50   ` David Miller
2010-07-22 22:30 ` [PATCH 2/4] powerpc: remove references to of_device and to_of_device Grant Likely
2010-07-22 22:30 ` [PATCH 3/4] sparc: " Grant Likely
2010-07-23  5:51   ` David Miller
2010-07-22 22:30 ` [PATCH 4/4] microblaze: " Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).