From patchwork Fri May 9 06:08:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4140231 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 513549F387 for ; Fri, 9 May 2014 06:08:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65170201FE for ; Fri, 9 May 2014 06:08:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DFC61201ED for ; Fri, 9 May 2014 06:08:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751364AbaEIGIc (ORCPT ); Fri, 9 May 2014 02:08:32 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:64092 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbaEIGIb (ORCPT ); Fri, 9 May 2014 02:08:31 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5A00936ME69RA0@mailout4.samsung.com> for linux-pm@vger.kernel.org; Fri, 09 May 2014 15:08:30 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id DA.7C.11120.DD07C635; Fri, 09 May 2014 15:08:29 +0900 (KST) X-AuditID: cbfee68f-b7eff6d000002b70-fe-536c70dda5e6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id BB.74.25708.DD07C635; Fri, 09 May 2014 15:08:29 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5A0083IME5A240@mmp1.samsung.com>; Fri, 09 May 2014 15:08:29 +0900 (KST) From: Jingoo Han To: "'Rafael J. Wysocki'" Cc: 'Viresh Kumar' , linux-pm@vger.kernel.org, 'Jingoo Han' Subject: [PATCH V2] cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro Date: Fri, 09 May 2014 15:08:29 +0900 Message-id: <000501cf6b4d$1941cbf0$4bc563d0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9rTRkq5PC2LzXRReCvnED1tWCigQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zY927BTnBBgvuWltcXniJ1eJz7xFG i8cr3rJbbPzq4cDisXjPSyaPO9f2sHn0bVnF6PF5k1wASxSXTUpqTmZZapG+XQJXxsPuh8wF f9kqFp54ztbA+J61i5GTQ0LARGLdgx1sELaYxIV768FsIYFljBJnLjHB1Jz51QNkcwHFFzFK NP47wQjh/GaU2Dz/DDNIFZuAmsSXL4fZQWwRATOJD51LweLMAjkSc2ZOB5skLOAl0b6kBaiG g4NFQFVi4WpTkDCvgK3Ev3fnWCBsQYkfk++xQLRqSazfeZwJwpaX2LzmLTNIq4SAusSjv7oQ m/Qkjq34wg5RIiKx78U7sNMkBDaxS+z5uwJsDouAgMS3yYdYIHplJTYdYIb4S1Li4IobLBMY xWYh2TwLyeZZSDbPQrJiASPLKkbR1ILkguKk9CJjveLE3OLSvHS95PzcTYyQCOvfwXj3gPUh xmSg9ROZpUST84ERmlcSb2hsZmRhamJqbGRuaUaasJI47/2HSUFCAumJJanZqakFqUXxRaU5 qcWHGJk4OKUaG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ulpSizF GYmGWsxFxYkA2TI2JSQDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is deprecated. Signed-off-by: Jingoo Han Acked-by: Viresh Kumar --- Changes since v1: - Added Viresh Kumar's Acked-by. - Modified commit message to change from 'not preferred' to 'deprecated'. drivers/cpufreq/cpufreq-nforce2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c index bc447b9..a225809 100644 --- a/drivers/cpufreq/cpufreq-nforce2.c +++ b/drivers/cpufreq/cpufreq-nforce2.c @@ -379,7 +379,7 @@ static struct cpufreq_driver nforce2_driver = { }; #ifdef MODULE -static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = { +static const struct pci_device_id nforce2_ids[] = { { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2 }, {} };