]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/zr364xx.c
V4L/DVB (10171): Use usb_set_intfdata
[linux-2.6-omap-h63xx.git] / drivers / media / video / zr364xx.c
index bf68ed9c5eb669ef6e7aed40cb7ca3d38747d755..93023560f3242550f0ed2e026954cfcac9c0794c 100644 (file)
@@ -893,7 +893,6 @@ static void zr364xx_disconnect(struct usb_interface *intf)
 {
        struct zr364xx_camera *cam = usb_get_intfdata(intf);
        usb_set_intfdata(intf, NULL);
-       dev_set_drvdata(&intf->dev, NULL);
        dev_info(&intf->dev, DRIVER_DESC " webcam unplugged\n");
        if (cam->vdev)
                video_unregister_device(cam->vdev);