All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCHv1 00/14] reset: remove request and free functions
@ 2018-04-14 18:51 Dinh Nguyen
  2018-04-14 18:51 ` [U-Boot] [PATCHv1 01/14] reset: tegra: " Dinh Nguyen
                   ` (13 more replies)
  0 siblings, 14 replies; 22+ messages in thread
From: Dinh Nguyen @ 2018-04-14 18:51 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2018-04-17 23:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-14 18:51 [U-Boot] [PATCHv1 00/14] reset: remove request and free functions Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 01/14] reset: tegra: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 02/14] reset: sti: " Dinh Nguyen
2018-04-17 11:57   ` Patrice CHOTARD
2018-04-14 18:51 ` [U-Boot] [PATCHv1 03/14] reset: uniphier: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 04/14] reset: rockchip: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 05/14] reset: meson: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 06/14] reset: bcm6345: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 07/14] reset: ast2500: remove request function Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 08/14] reset: socfpga: remove request and free functions Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 09/14] reset: sandbox: " Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 10/14] net: dwc_eth_qos: remove reset_free from driver Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 11/14] phy: bcm63xx: remove reset_free function Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 12/14] usb: ehci/ohci: " Dinh Nguyen
2018-04-17 11:58   ` Patrice CHOTARD
2018-04-14 18:51 ` [U-Boot] [PATCHv1 13/14] reset: test: remove sandbox_reset_test_free function Dinh Nguyen
2018-04-14 18:51 ` [U-Boot] [PATCHv1 14/14] reset: remove request and free functions Dinh Nguyen
2018-04-16 18:43   ` Simon Glass
2018-04-16 18:51     ` Stephen Warren
2018-04-16 20:41       ` Dinh Nguyen
2018-04-17 23:21         ` Simon Glass
2018-04-16 20:38     ` Dinh Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.