usb: cdns3: Refactoring names in reusable code
authorPawel Laszczak <pawell@cadence.com>
Mon, 7 Dec 2020 10:32:21 +0000 (11:32 +0100)
committerPeter Chen <peter.chen@nxp.com>
Tue, 29 Dec 2020 04:36:13 +0000 (12:36 +0800)
commit0b490046d8d7c035177ca4f5380f0c3275c4697d
tree07f2674ad77bdb8eb38393e273a4b881d96053bd
parent394c3a144de89e994c8a2c5ba5dc64fa4e5aa870
usb: cdns3: Refactoring names in reusable code

Patch change the functions and objects names in reusable code.
The reusable code includes core.c, core.h, drd.c and drd.h files.
It also changes the names of all references to these functions and
objects in other cdns3 files. There are a lot of changes, but all
changes are very trivial.
The reason of this patch is to avoid of mixing prefix cdns3 and cdnsp in
in cdnsp driver what could introduce some confusion in understanding
of cdnsp driver.
This patch assumes to use three different prefixes in Cadence
USB drivers:
  cdns: for common reusable code
  cdnsp: for names related only with cdnsp driver
  cdns3: for names related only with cdns3 driver

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Tested-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/cdns3-imx.c
drivers/usb/cdns3/cdns3-plat.c
drivers/usb/cdns3/core.c
drivers/usb/cdns3/core.h
drivers/usb/cdns3/drd.c
drivers/usb/cdns3/drd.h
drivers/usb/cdns3/gadget-export.h
drivers/usb/cdns3/gadget.c
drivers/usb/cdns3/host-export.h
drivers/usb/cdns3/host.c