Pratham Pratap 00b09723b0 USB: gadget: qti: Fix NULL check for usb_pid_string
Currently driver is checking for the usb_pid_string to be
NULL but usb_pid_string will never be NULL since it is a
pointer to a static character array.
Fix this by checking the data rather than the pointer which
usb_pid_string is pointing to.

Change-Id: Ifb3aa7b905201dee7b1c0eb6d4ba902ddcccb135
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-04-23 18:03:49 +05:30
..
2020-02-13 14:14:46 +05:30