usb: dwc3: ep0: switch over to IS_ALIGNED
authorFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 10:08:22 +0000 (13:08 +0300)
committerFelipe Balbi <balbi@ti.com>
Sun, 3 Jun 2012 20:08:19 +0000 (23:08 +0300)
commitc74c6d4a024d95e81283ee4c38be6fa7baee27f9
tree2771e72d5c349f46eed5fb63ec70902ed60a5be2
parenta0807881af93646b5d94b5594119df609e756945
usb: dwc3: ep0: switch over to IS_ALIGNED

IS_ALIGNED provides a much faster operation for
checking proper size alignment then a modulo
operation. Let's use it.

Reported-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c