]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09544ff7476926620a53202e324ca6c45923ae64
tree1c4e60625fb9ba08a3aaa1c20b3ca0b8a34d2add
parentef6d5b1938f6040e1f9a5a0d1b66c1afcd385646
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