]> 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)
commit766cfc378578c11e9060a134a04a8c32313e448d
treeec7554d94bdff7ded19e0c269425a19b055c43e4
parent0edb2bebe3ef8fa24a5e2be679145d3e5ac69e85
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