usb: otg: tegra: code clean up
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Wed, 28 Mar 2012 12:39:14 +0000 (17:39 +0530)
committerSimone Willett <swillett@nvidia.com>
Sat, 31 Mar 2012 01:51:28 +0000 (18:51 -0700)
commitd5197d4955e72310f82185c611da4d42822bee3a
tree23b3d51dd8e5d98c913a274a51fccf5302c21b30
parentb29cd2ee3eb10528dcecf2c32fc6c382f1c4da27
usb: otg: tegra: code clean up

Modified multiple if conditions to switch case.
Included a new OTG state case: undefined

Change-Id: Iba4cf1a79b8c220fc873966bd8a89f43a5648863
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/92832
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/usb/otg/tegra-otg.c