[PATCH] USB: fix bug in cypress_cy7c63.c driver

This was pointed out by Adrian Bunk <bunk@stusta.de>, as found by the Coverity Checker.

Cc: Adrian Bunk <bunk@stusta.de>
Cc: Oliver Bock <o.bock@fh-wolfenbuettel.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+1 -1
+1 -1
drivers/usb/misc/cypress_cy7c63.c
··· 208 208 /* allocate memory for our device state and initialize it */ 209 209 dev = kzalloc(sizeof(*dev), GFP_KERNEL); 210 210 if (dev == NULL) { 211 - dev_err(&dev->udev->dev, "Out of memory!\n"); 211 + dev_err(&interface->dev, "Out of memory!\n"); 212 212 goto error; 213 213 } 214 214