Dan Carpenter 94b9a70d32 usb/hcd: Fix a NULL vs IS_ERR() bug in usb_hcd_setup_local_mem()
The devm_memremap() function doesn't return NULL, it returns error
pointers.

Fixes: b0310c2f09bb ("USB: use genalloc for USB HCs with local memory")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20190607135709.GC16718@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-25 10:40:02 +02:00
..
2019-06-03 16:00:08 +02:00
2019-06-26 10:28:09 +08:00
2019-01-30 09:22:35 +01:00
2019-01-30 09:22:35 +01:00
2019-01-18 10:02:56 +01:00
2019-06-26 10:28:09 +08:00