]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ti-pipe3: introduce local struct device* in probe
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 21 Dec 2015 08:54:05 +0000 (14:24 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 21 Dec 2015 08:56:27 +0000 (14:26 +0530)
commitdac593e0be6d7e03a62da099c18db6ecbca5af70
treeba27ec4dbef1db3289b3e14ecb6c5dd5efff4b63
parentd9a0948fc941f333b6dc4eebde49655299f96067
phy: ti-pipe3: introduce local struct device* in probe

No functional change. Introduce local struct device pointer in
probe and replace using &pdev->dev/phy->dev with the local
device pointer. This is in preparation to split ti_pipe3_probe
and add separate functions for getting mem resource, getting
sysctrl and getting clocks.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-ti-pipe3.c