usb: phy: samsung: Pass set_isolation callback through driver data
authorTomasz Figa <t.figa@samsung.com>
Mon, 25 Mar 2013 15:40:52 +0000 (16:40 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:42:21 +0000 (11:42 +0900)
commitec2c9bf05cf4f49a028569039e2317782e89d069
tree0094acaa103da304a1497fc29ecb877742c2e9e1
parent2c89fe7dde15785947c6960346fd760e23b6768e
usb: phy: samsung: Pass set_isolation callback through driver data

This patch extends driver data structure with set_isolation callback,
which allows to remove the need for checking for SoC type in a switch
statement.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/usb/phy/phy-samsung-usb.c
drivers/usb/phy/phy-samsung-usb.h
drivers/usb/phy/phy-samsung-usb2.c
drivers/usb/phy/phy-samsung-usb3.c