]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rcar: Factor out rcar_pcie_hw_init() call
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 3 May 2018 19:43:13 +0000 (22:43 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 4 May 2018 09:25:30 +0000 (10:25 +0100)
commitda50b89fec200dcdb30572651d7edb9481498600
tree374c1d761bef821878d830c53e1c7cba0e5fae9e
parent085c3caf2d8c638f9e79b2d644363dac16856b1e
PCI: rcar: Factor out rcar_pcie_hw_init() call

rcar_pcie_hw_init_{h1|gen2|gen3}() only differ in the PCIe PHY init code
and all end with a call to rcar_pcie_hw_init(), thus it makes sense to
move that call into the driver's probe() method and then rename those
functions to rcar_pcie_phy_init_{h1|gen2|gen3}().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c