usb: musb: Use IS_ENABLED for tusb6010
authorTony Lindgren <tony@atomide.com>
Mon, 24 Nov 2014 19:05:06 +0000 (11:05 -0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 25 Nov 2014 14:47:07 +0000 (08:47 -0600)
commitebf3992061db1f7b3aa093f37fb308acc74fbc82
tree7eadbb089c31ffe0030a72992d8dedcf8658d95a
parent82c02f58ba3a1ee0a067c0f90513e826d6152ba6
usb: musb: Use IS_ENABLED for tusb6010

This removes the ifdef clutter a bit and saves few lines.

It also makes it easier to detect the remaining places
where we have conditional building of code done based
on if defined for things like DMA.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_regs.h