diff mbox

remove unnecessary power management primitive in stk-webcam

Message ID 200908192141.59722.oliver@neukum.org (mailing list archive)
State Accepted
Headers show

Commit Message

Oliver Neukum Aug. 19, 2009, 7:41 p.m. UTC
This patch removes an unneeded power management primitive.
Power management is automatically enabled as probe ends.

Signed-off-by: Oliver Neukum <oliver@neukum.org>

Hi,

please accept this patch for the next merge window, as this
patch changes no functionality and removes a primitive that
won't be supported in the new generic framework.

	Regards
		Oliver

--

commit eeada72856087eb90e8649692b75e5b875ba051d
Author: Oliver Neukum <oliver@neukum.org>
Date:   Wed Aug 19 20:31:56 2009 +0200

    usb: remove unneeded power management primitive


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index b154bd9..0b996ea 100644
--- a/drivers/media/video/stk-webcam.c
+++ b/drivers/media/video/stk-webcam.c
@@ -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;