usb: dwc3: omap: remove x_major calculation from revision register
authorGeorge Cherian <george.cherian@ti.com>
Wed, 16 Jul 2014 13:07:05 +0000 (18:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 14:35:30 +0000 (09:35 -0500)
commitca632a0d2fec10e62377a78a424d68c90f2e4345
treea7e782fd3f15b1d93ee03f28557861ba6b3fac53
parent66847062a6e33fa54b98714c7c954353e2596645
usb: dwc3: omap: remove x_major calculation from revision register

Remove the x_major calculation logic from the wrapper revision register
to differentiate between OMAP5 and AM437x. This was done to find the
register offsets of wrapper register. Now that We do it using dt
compatible, remove the whole logic.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c