linux/drivers/usb/fotg210
Christophe JAILLET 202f785b18 usb: fotg210-udc: Remove a useless assignment
There is no need to use an intermediate array for these memory allocations,
so, axe it.

While at it, turn a '== NULL' into a shorter '!' when testing memory
allocation failure.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/deab9696fc4000499470e7ccbca7c36fca17bd4e.1668458274.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-22 17:26:23 +01:00
..
fotg210-core.c usb: fotg2: add Gemini-specific handling 2022-11-11 10:18:56 +01:00
fotg210-hcd.c
fotg210-hcd.h
fotg210-udc.c usb: fotg210-udc: Remove a useless assignment 2022-11-22 17:26:23 +01:00
fotg210-udc.h fotg210-udc: Handle PCLK 2022-11-22 17:25:23 +01:00
fotg210.h
Kconfig usb: USB_FOTG210 should depend on ARCH_GEMINI 2022-11-22 17:25:06 +01:00
Makefile