usb: phy: samsung: Pass enable/disable callbacks through driver data
authorTomasz Figa <t.figa@samsung.com>
Thu, 16 May 2013 09:57:10 +0000 (11:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:07:15 +0000 (20:07 +0300)
To remove unnecessary if statements, this patch introduces phy_enable
and phy_disable callbacks in driver data structure that implement
SoC-specific PHY initialization and deinitialization.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found