usb: phy: tegra: Use switch instead of if-else
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Thu, 25 Jul 2013 19:24:09 +0000 (22:24 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 12:19:19 +0000 (15:19 +0300)
commita554aea67aaadb7f3396b2a8f940ab0b915b2a5e
tree42fcf64fc8a1d2317153f3c026ef5e0fffde73f2
parent9be73bae70ac5b0149daa243eeae2bdacd970574
usb: phy: tegra: Use switch instead of if-else

Use switch() instead of if-else when checking for the PHY type.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-tegra-usb.c