From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564Ab0ARN6y (ORCPT ); Mon, 18 Jan 2010 08:58:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751337Ab0ARN6x (ORCPT ); Mon, 18 Jan 2010 08:58:53 -0500 Received: from dan.rpsys.net ([93.97.175.187]:59381 "EHLO dan.rpsys.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943Ab0ARN6x (ORCPT ); Mon, 18 Jan 2010 08:58:53 -0500 Subject: Re: [PATCH] leds: make PCI device id constant From: Richard Purdie To: =?ISO-8859-1?Q?N=E9meth_M=E1rton?= Cc: LKML , Julia Lawall , cocci@diku.dk In-Reply-To: <4B491B17.5070305@freemail.hu> References: <4B491B17.5070305@freemail.hu> Content-Type: text/plain; charset=utf-8 Date: Mon, 18 Jan 2010 13:58:55 +0000 Message-Id: <1263823135.26227.100.camel@dax.rpnet.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2010-01-10 at 01:11 +0100, Németh Márton wrote: > From: Márton Németh > > The id_table field of the struct pci_driver is constant in > so it is worth to make pci_device_id also constant. > > The semantic match that finds this kind of pattern is as follows: > (http://coccinelle.lip6.fr/) Queued in the LED tree, thanks. Richard -- Richard Purdie Intel Open Source Technology Centre