[PATCH 00/10] ARM: omap2: assorted cleanups

Arnd Bergmann arnd at kernel.org
Mon Oct 24 08:38:04 PDT 2022


From: Arnd Bergmann <arnd at arndb.de>

While going through the removal of board files on some other
platforms, I noticed a bit of outdated code on omap2+ that
was left behind after the platform became DT only.

I can put this into the same cleanup tree as the omap1 patches,
or you can merge these into your omap2 tree if there are likely
conflicts with other patches.

Arnd Bergmann (10):
  ARM: omap2: remove unused USB code
  ARM: omap2: remove unused headers
  ARM: omap2: remove unused omap_hwmod_reset.c
  ARM: omap2: simplify clock2xxx header
  ARM: omap2: remove APLL control
  ARM: omap2: smartreflex: remove on_init control
  ARM: omap2: remove unused functions
  ARM: omap2: remove unused declarations
  ARM: omap2: remove unused omap2_pm_init
  ARM: omap2: make functions static

 arch/arm/mach-omap2/Makefile                  |   3 +-
 arch/arm/mach-omap2/board-n8x0.c              |   2 +-
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c       |   1 +
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c  |  14 +-
 arch/arm/mach-omap2/clock.c                   |   2 -
 arch/arm/mach-omap2/clock.h                   |   7 -
 arch/arm/mach-omap2/clock2xxx.h               |  29 --
 arch/arm/mach-omap2/clock3xxx.h               |  21 --
 arch/arm/mach-omap2/clockdomain.c             |  44 +--
 arch/arm/mach-omap2/clockdomain.h             |   4 -
 arch/arm/mach-omap2/cm2xxx.c                  | 101 +-----
 arch/arm/mach-omap2/cm2xxx.h                  |   7 -
 arch/arm/mach-omap2/cm2xxx_3xxx.h             |   5 -
 arch/arm/mach-omap2/common.h                  |  28 --
 arch/arm/mach-omap2/control.c                 |  73 ----
 arch/arm/mach-omap2/control.h                 |   5 -
 arch/arm/mach-omap2/id.c                      |   2 +-
 arch/arm/mach-omap2/id.h                      |   2 -
 arch/arm/mach-omap2/io.c                      |  21 +-
 arch/arm/mach-omap2/omap-secure.c             |   7 +-
 arch/arm/mach-omap2/omap-secure.h             |   3 -
 arch/arm/mach-omap2/omap_device.c             |  74 +----
 arch/arm/mach-omap2/omap_device.h             |  14 -
 arch/arm/mach-omap2/omap_hwmod.c              |  94 +-----
 arch/arm/mach-omap2/omap_hwmod.h              |  21 --
 arch/arm/mach-omap2/omap_hwmod_2420_data.c    |   1 -
 .../omap_hwmod_2xxx_3xxx_ipblock_data.c       |   2 +-
 .../omap_hwmod_2xxx_interconnect_data.c       |   1 -
 .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c |  12 +-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |   1 -
 arch/arm/mach-omap2/omap_hwmod_common_data.h  |   6 -
 arch/arm/mach-omap2/omap_hwmod_reset.c        |  98 ------
 arch/arm/mach-omap2/omap_opp_data.h           |   5 -
 arch/arm/mach-omap2/omap_phy_internal.c       |  87 -----
 arch/arm/mach-omap2/pm.c                      |   8 +-
 arch/arm/mach-omap2/pm.h                      |  25 --
 arch/arm/mach-omap2/pm24xx.c                  | 312 ------------------
 arch/arm/mach-omap2/powerdomain.c             | 108 +-----
 arch/arm/mach-omap2/powerdomain.h             |   8 -
 arch/arm/mach-omap2/prcm-common.h             |   1 -
 arch/arm/mach-omap2/prcm_mpu44xx.c            |  12 -
 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h      |   2 -
 arch/arm/mach-omap2/prm.h                     |   4 -
 arch/arm/mach-omap2/prm2xxx_3xxx.h            |   3 -
 arch/arm/mach-omap2/prm3xxx.c                 |   5 +-
 arch/arm/mach-omap2/prm3xxx.h                 |   2 -
 arch/arm/mach-omap2/prm_common.c              |  55 +--
 arch/arm/mach-omap2/sdrc.c                    |  51 +--
 arch/arm/mach-omap2/sdrc.h                    |   5 -
 arch/arm/mach-omap2/serial.h                  |  66 ----
 arch/arm/mach-omap2/sr_device.c               |  13 -
 arch/arm/mach-omap2/sram.h                    |   4 -
 arch/arm/mach-omap2/usb-tusb6010.c            |   6 +-
 arch/arm/mach-omap2/usb.h                     |  71 ----
 arch/arm/mach-omap2/vc.c                      |  15 -
 arch/arm/mach-omap2/voltage.c                 |   2 +-
 arch/arm/mach-omap2/voltage.h                 |   2 -
 drivers/soc/ti/smartreflex.c                  |   4 -
 include/linux/platform_data/voltage-omap.h    |   1 -
 include/linux/power/smartreflex.h             |   3 -
 include/linux/usb/musb.h                      |   2 -
 61 files changed, 49 insertions(+), 1538 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/clock3xxx.h
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_reset.c
 delete mode 100644 arch/arm/mach-omap2/pm24xx.c
 delete mode 100644 arch/arm/mach-omap2/serial.h
 delete mode 100644 arch/arm/mach-omap2/usb.h

-- 
2.29.2




More information about the linux-arm-kernel mailing list