usb: dwc3: keystone: drop dma_mask configuration
commit6fdcc6e3762f19ff1833ef33c8aab018d2c3e781
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 4 Apr 2016 11:33:31 +0000 (4 14:33 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:06:09 +0000 (1 00:06 +0200)
tree5c9692aa4383166ba75e0a76bc746eecfdebefe4
parenta1ae4c55e3a8d5c8c46f892b10244bc8fd05a471
usb: dwc3: keystone: drop dma_mask configuration

commit adf9a3ab90eb44e57f9dbf757acd897838b5ec21 upstream.

The Keystone 2 supports DT-boot only, as result dma_mask will be
always configured properly from DT -
of_platform_device_create_pdata()->of_dma_configure(). More over,
dwc3-keystone.c can be built as module and in this case it's unsafe to
assign local variable as dma_mask.

Hence, remove dma_mask configuration code.

Cc: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/dwc3/dwc3-keystone.c