From patchwork Thu Nov 28 02:21:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251331 Return-Path: X-Original-To: patchwork-linux-input@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 7C2EE9F3A0 for ; Thu, 28 Nov 2013 02:21:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE48B2061A for ; Thu, 28 Nov 2013 02:21:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0E93203E9 for ; Thu, 28 Nov 2013 02:21:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758493Ab3K1CVP (ORCPT ); Wed, 27 Nov 2013 21:21:15 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:9791 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754736Ab3K1CVO (ORCPT ); Wed, 27 Nov 2013 21:21:14 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00CV0BVDGF60@mailout1.samsung.com> for linux-input@vger.kernel.org; Thu, 28 Nov 2013 11:21:13 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id AF.F1.18301.898A6925; Thu, 28 Nov 2013 11:21:13 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-56-5296a8988a99 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 69.DD.32308.898A6925; Thu, 28 Nov 2013 11:21:12 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWY007CWBVCUY30@mmp2.samsung.com>; Thu, 28 Nov 2013 11:21:12 +0900 (KST) From: Jingoo Han To: 'Dmitry Torokhov' Cc: 'Dmitry Torokhov' , linux-input@vger.kernel.org, 'Jingoo Han' References: <001901ceebe0$46c96b10$d45c4130$%han@samsung.com> In-reply-to: <001901ceebe0$46c96b10$d45c4130$%han@samsung.com> Subject: [PATCH 3/3] Input: pcips2 - use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 11:21:12 +0900 Message-id: <001b01ceebe0$82141940$863c4bc0$%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: Ac7r4Eavz7nmm4p/RBKuewLHTLhaTQAACMxg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsVy+t8zQ92ZK6YFGbTkWxxe9ILR4uH2F6wW lxdeYrW4+ekbqwOLx85Zd9k9psw9wurRt2UVo8fnTXIBLFFcNimpOZllqUX6dglcGfd+TWUq 2Mha8fHmEaYGxm0sXYwcHBICJhJ9v4q7GDmBTDGJC/fWs3UxcnEICSxjlPj2ZCkzRMJE4sTD eYwQiemMEtv6G1ghnF+MEh1rnrKCVLEJqEl8+XKYHWSqiIChxIw1VSAms0C6xNmDHiAVQgK2 Esff/GcCsTkF7CQW7F7KBmILC7hJvPpyBcxmEVCV2D4TYiIvUP3e3n3MELagxI/J91hAbGYB LYn1O48zQdjyEpvXvGWG+EVd4tFfXZCwiICRxLOpP9ggSkQk9r14B3a+hMAldokZ23+wQ+wS kPg2+RA0HGQlNh2AeldS4uCKGywTGCVmIdk8C8nmWUg2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caZu 5lI3Nm14tDnw5afQ31pq/BZev/+dszsssu1mtcfxG58/eNT7THW51/h6Veu6Cf/6nSo5D/I/ 2+9uK7DvZtLPYy7vZ7R4vfreeN5Frtx1o/m95uWlT2Q3/I16Fl0y6braxYLffrPft08Jmftt QpT/pl+nWrRdpz+6vWlTxKJEFT4lluKMREMt5qLiRABz3tCQPAMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 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 This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/input/serio/pcips2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c index 13062f6..2fff5d4 100644 --- a/drivers/input/serio/pcips2.c +++ b/drivers/input/serio/pcips2.c @@ -186,7 +186,7 @@ static void pcips2_remove(struct pci_dev *dev) pci_disable_device(dev); } -static const struct pci_device_id pcips2_ids[] = { +static DEFINE_PCI_DEVICE_TABLE(pcips2_ids) = { { .vendor = 0x14f2, /* MOBILITY */ .device = 0x0123, /* Keyboard */