Skip to content

reset: remove request and free functions

Dinh Nguyen u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14reset: tegra: remove request and free functionsdrivers/reset/tegra-car-reset.c drivers/reset/tegra186-reset.c+5 -370 replies
2/14reset: sti: remove request and free functionsdrivers/reset/sti-reset.c drivers/reset/stm32-reset.c+0 -241 reply
3/14reset: uniphier: remove request and free functionsdrivers/reset/reset-uniphier.c+0 -120 replies
4/14reset: rockchip: remove request and free functionsdrivers/reset/reset-rockchip.c+3 -230 replies
5/14reset: meson: remove request and free functionsdrivers/reset/reset-meson.c+3 -150 replies
6/14reset: bcm6345: remove request and free functionsdrivers/reset/reset-bcm6345.c+6 -150 replies
7/14reset: ast2500: remove request functiondrivers/reset/ast2500-reset.c+0 -90 replies
8/14reset: socfpga: remove request and free functionsdrivers/reset/reset-socfpga.c+0 -180 replies
9/14reset: sandbox: remove request and free functionsdrivers/reset/sandbox-reset.c+6 -190 replies
10/14net: dwc_eth_qos: remove reset_free from driverdrivers/net/dwc_eth_qos.c+0 -40 replies
11/14phy: bcm63xx: remove reset_free functiondrivers/phy/bcm6318-usbh-phy.c drivers/phy/bcm6348-usbh-phy.c drivers/phy/bcm6358-usbh-phy.c +3 more+0 -240 replies
12/14usb: ehci/ohci: remove reset_free functiondrivers/usb/host/ehci-generic.c drivers/usb/host/ohci-generic.c+0 -21 reply
13/14reset: test: remove sandbox_reset_test_free functionarch/sandbox/include/asm/reset.h drivers/reset/sandbox-reset-test.c test/dm/reset.c+0 -100 replies
14/14reset: remove request and free functionsdrivers/reset/reset-uclass.c include/reset-uclass.h include/reset.h+0 -722 replies
14/14reset: remove request and free functions+0 -00 replies
14/14reset: remove request and free functions+0 -01 reply

Reviews trailers per patch

2 of 16 patches have a Reviewed-by or Acked-by.

PatchPatrice Chotard
1/14
2/14R-b
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14R-b
13/14
14/14
14/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCHv1 00/14] reset: remove request and free functions

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(-)
Signature · 1 line
2.7.4