All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Lee Jones <lee.jones@linaro.org>
Cc: Peter Tyser <ptyser@xes-inc.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] mfd: lpc_ich: sort IDs
Date: Mon, 30 Mar 2015 14:03:07 +0300	[thread overview]
Message-ID: <1427713387.14897.443.camel@linux.intel.com> (raw)
In-Reply-To: <20150330070658.GB457@x1>

On Mon, 2015-03-30 at 08:06 +0100, Lee Jones wrote:
> On Fri, 27 Mar 2015, Andy Shevchenko wrote:
> 
> > This patch just sorts IDs in the table for better maintenance. There is no
> > functional change.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  drivers/mfd/lpc_ich.c | 172 +++++++++++++++++++++++++-------------------------
> >  1 file changed, 86 insertions(+), 86 deletions(-)
> 
> Applied, thanks.

Hmm… I hope you took v2 of this patch? If not, I might send a fixup if
it suits your work flow.

> 
> > diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
> > index f35d428..8bd370a 100644
> > --- a/drivers/mfd/lpc_ich.c
> > +++ b/drivers/mfd/lpc_ich.c
> > @@ -539,6 +539,79 @@ static struct lpc_ich_info lpc_chipset_info[] = {
> >   * functions that probably will be registered by other drivers.
> >   */
> >  static const struct pci_device_id lpc_ich_ids[] = {
> > +	{ PCI_VDEVICE(INTEL, 0x0f1c), LPC_BAYTRAIL},
> > +	{ PCI_VDEVICE(INTEL, 0x1c41), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c42), LPC_CPTD},
> > +	{ PCI_VDEVICE(INTEL, 0x1c43), LPC_CPTM},
> > +	{ PCI_VDEVICE(INTEL, 0x1c44), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c45), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c46), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c47), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c48), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c49), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4a), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4b), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4c), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4d), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4e), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c4f), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c50), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c51), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c52), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c53), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c54), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c55), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c56), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c57), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c58), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c59), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5a), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5b), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5c), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5d), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5e), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1c5f), LPC_CPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1d40), LPC_PBG},
> > +	{ PCI_VDEVICE(INTEL, 0x1d41), LPC_PBG},
> > +	{ PCI_VDEVICE(INTEL, 0x1e40), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e41), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e42), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e43), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e44), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e45), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e46), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e47), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e48), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e49), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4a), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4b), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4c), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4d), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4e), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e4f), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e50), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e51), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e52), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e53), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e54), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e55), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e56), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e57), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e58), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e59), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5a), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5b), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5c), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5d), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5e), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1e5f), LPC_PPT},
> > +	{ PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
> > +	{ PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
> > +	{ PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
> > +	{ PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
> > +	{ PCI_VDEVICE(INTEL, 0x229c), LPC_BRASWELL},
> > +	{ PCI_VDEVICE(INTEL, 0x2310), LPC_DH89XXCC},
> > +	{ PCI_VDEVICE(INTEL, 0x2390), LPC_COLETO},
> >  	{ PCI_VDEVICE(INTEL, 0x2410), LPC_ICH},
> >  	{ PCI_VDEVICE(INTEL, 0x2420), LPC_ICH0},
> >  	{ PCI_VDEVICE(INTEL, 0x2440), LPC_ICH2},
> > @@ -605,72 +678,6 @@ static const struct pci_device_id lpc_ich_ids[] = {
> >  	{ PCI_VDEVICE(INTEL, 0x3b14), LPC_3420},
> >  	{ PCI_VDEVICE(INTEL, 0x3b16), LPC_3450},
> >  	{ PCI_VDEVICE(INTEL, 0x5031), LPC_EP80579},
> > -	{ PCI_VDEVICE(INTEL, 0x1c41), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c42), LPC_CPTD},
> > -	{ PCI_VDEVICE(INTEL, 0x1c43), LPC_CPTM},
> > -	{ PCI_VDEVICE(INTEL, 0x1c44), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c45), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c46), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c47), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c48), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c49), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4a), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4b), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4c), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4d), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4e), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c4f), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c50), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c51), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c52), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c53), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c54), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c55), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c56), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c57), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c58), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c59), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5a), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5b), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5c), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5d), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5e), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1c5f), LPC_CPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1d40), LPC_PBG},
> > -	{ PCI_VDEVICE(INTEL, 0x1d41), LPC_PBG},
> > -	{ PCI_VDEVICE(INTEL, 0x2310), LPC_DH89XXCC},
> > -	{ PCI_VDEVICE(INTEL, 0x1e40), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e41), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e42), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e43), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e44), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e45), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e46), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e47), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e48), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e49), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4a), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4b), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4c), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4d), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4e), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e4f), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e50), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e51), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e52), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e53), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e54), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e55), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e56), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e57), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e58), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e59), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5a), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5b), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5c), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5d), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5e), LPC_PPT},
> > -	{ PCI_VDEVICE(INTEL, 0x1e5f), LPC_PPT},
> >  	{ PCI_VDEVICE(INTEL, 0x8c40), LPC_LPT},
> >  	{ PCI_VDEVICE(INTEL, 0x8c41), LPC_LPT},
> >  	{ PCI_VDEVICE(INTEL, 0x8c42), LPC_LPT},
> > @@ -703,14 +710,11 @@ static const struct pci_device_id lpc_ich_ids[] = {
> >  	{ PCI_VDEVICE(INTEL, 0x8c5d), LPC_LPT},
> >  	{ PCI_VDEVICE(INTEL, 0x8c5e), LPC_LPT},
> >  	{ PCI_VDEVICE(INTEL, 0x8c5f), LPC_LPT},
> > -	{ PCI_VDEVICE(INTEL, 0x9c40), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c41), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c42), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c43), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c44), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c45), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c46), LPC_LPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x9c47), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x8cc1), LPC_9S},
> > +	{ PCI_VDEVICE(INTEL, 0x8cc2), LPC_9S},
> > +	{ PCI_VDEVICE(INTEL, 0x8cc3), LPC_9S},
> > +	{ PCI_VDEVICE(INTEL, 0x8cc4), LPC_9S},
> > +	{ PCI_VDEVICE(INTEL, 0x8cc6), LPC_9S},
> >  	{ PCI_VDEVICE(INTEL, 0x8d40), LPC_WBG},
> >  	{ PCI_VDEVICE(INTEL, 0x8d41), LPC_WBG},
> >  	{ PCI_VDEVICE(INTEL, 0x8d42), LPC_WBG},
> > @@ -743,12 +747,14 @@ static const struct pci_device_id lpc_ich_ids[] = {
> >  	{ PCI_VDEVICE(INTEL, 0x8d5d), LPC_WBG},
> >  	{ PCI_VDEVICE(INTEL, 0x8d5e), LPC_WBG},
> >  	{ PCI_VDEVICE(INTEL, 0x8d5f), LPC_WBG},
> > -	{ PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
> > -	{ PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
> > -	{ PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
> > -	{ PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
> > -	{ PCI_VDEVICE(INTEL, 0x0f1c), LPC_BAYTRAIL},
> > -	{ PCI_VDEVICE(INTEL, 0x2390), LPC_COLETO},
> > +	{ PCI_VDEVICE(INTEL, 0x9c40), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c41), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c42), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c43), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c44), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c45), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c46), LPC_LPT_LP},
> > +	{ PCI_VDEVICE(INTEL, 0x9c47), LPC_LPT_LP},
> >  	{ PCI_VDEVICE(INTEL, 0x9cc1), LPC_WPT_LP},
> >  	{ PCI_VDEVICE(INTEL, 0x9cc2), LPC_WPT_LP},
> >  	{ PCI_VDEVICE(INTEL, 0x9cc3), LPC_WPT_LP},
> > @@ -756,12 +762,6 @@ static const struct pci_device_id lpc_ich_ids[] = {
> >  	{ PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP},
> >  	{ PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP},
> >  	{ PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP},
> > -	{ PCI_VDEVICE(INTEL, 0x229c), LPC_BRASWELL},
> > -	{ PCI_VDEVICE(INTEL, 0x8cc1), LPC_9S},
> > -	{ PCI_VDEVICE(INTEL, 0x8cc2), LPC_9S},
> > -	{ PCI_VDEVICE(INTEL, 0x8cc3), LPC_9S},
> > -	{ PCI_VDEVICE(INTEL, 0x8cc4), LPC_9S},
> > -	{ PCI_VDEVICE(INTEL, 0x8cc6), LPC_9S},
> >  	{ 0, },			/* End of list */
> >  };
> >  MODULE_DEVICE_TABLE(pci, lpc_ich_ids);
> 


-- 
Andy Shevchenko <andriy.shevchenko@intel.com>
Intel Finland Oy


  reply	other threads:[~2015-03-30 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 18:06 [PATCH 1/1] mfd: lpc_ich: sort IDs Andy Shevchenko
2015-03-30  7:06 ` Lee Jones
2015-03-30 11:03   ` Andy Shevchenko [this message]
2015-03-30 11:06     ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427713387.14897.443.camel@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ptyser@xes-inc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.