usb: ohci-nxp: fix use of integer as pointer
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 15 Oct 2019 14:19:45 +0000 (15:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 14:50:38 +0000 (15:50 +0100)
commit09e2a8b78cbd628f4f428b76cb3fed64cdfbc657
treecca536943ec9be7b76d56ffba1392f341ed0e746
parenta69dff995477a57badacfea56438b40e22247cd5
usb: ohci-nxp: fix use of integer as pointer

The hcd pointer in ohci_hcd_nxp_probe() is
being initialised with a 0, so fix to NULL to
avoid the following sparse warning:

drivers/usb/host/ohci-nxp.c:153:31: warning: Using plain integer as NULL pointer

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Link: https://lore.kernel.org/r/20191015141945.16067-1-ben.dooks@codethink.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-nxp.c