]> git.karo-electronics.de Git - karo-tx-linux.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)
commitd65ff52eb8ed5c8480fbff9ef720e2b56d9a6fb2
treeba27ec4dbef1db3289b3e14ecb6c5dd5efff4b63
parentc3ab642f2f08349c41f7d837f224ce1e63b58197
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