Hi,

It appears that the reset and request functions in the dm reset manager
driver do not do anything useful. All of the platforms that implement the
request and free do not implement any thing useful, just debugging prints.

The first 9 patches in this series remove the platform specific implementation
of request/free. The next 4 patches remove the global reset_free() and
reset_request() functions from drivers that are calling them, specifically,
dwc_eth_qos, phy, and usb.

The final patch removes the request/free functions from the reset manager
driver itself.

Dinh


Dinh Nguyen (14):
  reset: tegra: remove request and free functions
  reset: sti: remove request and free functions
  reset: uniphier: remove request and free functions
  reset: rockchip: remove request and free functions
  reset: meson: remove request and free functions
  reset: bcm6345: remove request and free functions
  reset: ast2500: remove request function
  reset: socfpga: remove request and free functions
  reset: sandbox: remove request and free functions
  net: dwc_eth_qos: remove reset_free from driver
  phy: bcm63xx: remove reset_free function
  usb: ehci/ohci: remove reset_free function
  reset: test: remove sandbox_reset_test_free function
  reset: remove request and free functions

 arch/sandbox/include/asm/reset.h   |  1 -
 drivers/net/dwc_eth_qos.c          |  4 ----
 drivers/phy/bcm6318-usbh-phy.c     |  4 ----
 drivers/phy/bcm6348-usbh-phy.c     |  4 ----
 drivers/phy/bcm6358-usbh-phy.c     |  4 ----
 drivers/phy/bcm6368-usbh-phy.c     |  4 ----
 drivers/reset/ast2500-reset.c      |  9 ---------
 drivers/reset/reset-bcm6345.c      | 21 ++++++---------------
 drivers/reset/reset-meson.c        | 18 +++---------------
 drivers/reset/reset-rockchip.c     | 26 +++-----------------------
 drivers/reset/reset-socfpga.c      | 18 ------------------
 drivers/reset/reset-uclass.c       | 28 ----------------------------
 drivers/reset/reset-uniphier.c     | 12 ------------
 drivers/reset/sandbox-reset-test.c |  7 -------
 drivers/reset/sandbox-reset.c      | 25 ++++++-------------------
 drivers/reset/sti-reset.c          | 12 ------------
 drivers/reset/stm32-reset.c        | 12 ------------
 drivers/reset/tegra-car-reset.c    | 24 +++++-------------------
 drivers/reset/tegra186-reset.c     | 18 ------------------
 drivers/spi/bcm63xx_hsspi.c        |  4 ----
 drivers/spi/bcm63xx_spi.c          |  4 ----
 drivers/usb/host/ehci-generic.c    |  1 -
 drivers/usb/host/ohci-generic.c    |  1 -
 include/reset-uclass.h             | 21 ---------------------
 include/reset.h                    | 23 -----------------------
 test/dm/reset.c                    |  2 --
 26 files changed, 23 insertions(+), 284 deletions(-)

-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to