From patchwork Wed Aug 19 19:41:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Neukum X-Patchwork-Id: 42771 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7JJf5DU004043 for ; Wed, 19 Aug 2009 19:41:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753085AbZHSTlA (ORCPT ); Wed, 19 Aug 2009 15:41:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753111AbZHSTlA (ORCPT ); Wed, 19 Aug 2009 15:41:00 -0400 Received: from smtp-out003.kontent.com ([81.88.40.217]:35505 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753075AbZHSTk7 (ORCPT ); Wed, 19 Aug 2009 15:40:59 -0400 Received: from linux-d698.localnet (p549A2223.dip0.t-ipconnect.de [84.154.34.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: neukum_org@smtp-out003.kontent.com) by smtp-out003.kontent.com (Postfix) with ESMTPSA id CE15D4000366; Wed, 19 Aug 2009 21:41:00 +0200 (CEST) From: Oliver Neukum To: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, Alan Stern Subject: [patch]remove unnecessary power management primitive in stk-webcam Date: Wed, 19 Aug 2009 21:41:59 +0200 User-Agent: KMail/1.10.3 (Linux/2.6.31-rc4-0.1-default; KDE/4.1.3; x86_64; ; ) MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200908192141.59722.oliver@neukum.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patch removes an unneeded power management primitive. Power management is automatically enabled as probe ends. Signed-off-by: Oliver Neukum 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 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 --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;