]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63730590d22bca2f704e0917db0f67188a8e9d5b
treeec7554d94bdff7ded19e0c269425a19b055c43e4
parentdda2c37b3411336ac4af7f70e5d91d3c776742de
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