V4L/DVB (12491): remove unnecessary power management primitive in stk-webcam
authorOliver Neukum <oliver@neukum.org>
Wed, 19 Aug 2009 19:41:59 +0000 (16:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:14 +0000 (12:19 -0300)
This patch removes an unneeded power management primitive.
Power management is automatically enabled as probe ends.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/stk-webcam.c

index b154bd9..0b996ea 100644 (file)
@@ -1400,7 +1400,6 @@ static int stk_camera_probe(struct usb_interface *interface,
        }
 
        stk_create_sysfs_files(&dev->vdev);
-       usb_autopm_enable(dev->interface);
 
        return 0;