usb: phy: samsung: Pass set_isolation callback through driver data
authorTomasz Figa <t.figa@samsung.com>
Thu, 16 May 2013 09:57:09 +0000 (11:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:06:49 +0000 (20:06 +0300)
commit3f339074edfa0d531edaa6bd095f718e58b50a7d
treeec7554d94bdff7ded19e0c269425a19b055c43e4
parent0aa823a2ca02cd21c587713e8195a2ffb8bd7872
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>
Signed-off-by: Felipe Balbi <balbi@ti.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