phy: ti-pipe3: Introduce mode property in driver data
authorRoger Quadros <rogerq@ti.com>
Fri, 22 Mar 2019 08:58:04 +0000 (10:58 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:43:03 +0000 (14:13 +0530)
commit22940823f0629b2068c259fb859ed150b8563d8a
tree1c4e60625fb9ba08a3aaa1c20b3ca0b8a34d2add
parente6577cb5103b7ca7c0204c0c86ef4af8aa6288f6
phy: ti-pipe3: Introduce mode property in driver data

Introduce a mode property in the driver data so that
we don't have to keep using "of_device_is_compatible()"
throughtout the driver.

No functional change.

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