All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
	linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
	Grant Likely <grant.likely@secretlab.ca>,
	linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org,
	Jean Delvare <khali@linux-fr.org>,
	David Woodhouse <dwmw2@infradead.org>
Subject: [PATCH 0/7] Device table matching for SPI subsystem
Date: Wed, 29 Jul 2009 21:03:45 +0400	[thread overview]
Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> (raw)

Hi all,

This patch set implements standard device table matching mechanism
for SPI subsystem, the same device id tables as we use in I2C drivers.

I started this work because m25p80 driver misdetects non-JEDEC
chips when it is used on OpenFirmware platforms (cause we don't pass
platform_data). platform_data is overkill for m25p80 chips, the
driver only needs to know exact chip model, and that's what device
tables are for.

So the patches:

  [1/7] spi: Add support for device table matching
  [2/7] mtd: m25p80: Convert to device table matching
  [3/7] of: Remove "stm,m25p40" alias

The three patches above do real work. I tried to keep the 1/7 patch as
small as possible, and factor out the subsystem cleanups into other,
"cleanup" patches:

  [PATCH 4/7] spi: Prefix modalias with "spi:"
  [PATCH 5/7] spi: Merge probe and probe_id callbacks

These two patches I consider as cleanups, they should not introduce
any behavioural change, but they touch quite a lot of files.

  [PATCH 6/7] hwmon: adxx: Convert to device table matching
  [PATCH 7/7] hwmon: lm70: Convert to device table matching

These two are here because I couldn't stop. :-) Also cleanups.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

WARNING: multiple messages have this Message-ID (diff)
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
	David Woodhouse <dwmw2@infradead.org>,
	Grant Likely <grant.likely@secretlab.ca>,
	Jean Delvare <khali@linux-fr.org>,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	lm-sensors@lm-sensors.org, linuxppc-dev@ozlabs.org
Subject: [lm-sensors] [PATCH 0/7] Device table matching for SPI subsystem
Date: Wed, 29 Jul 2009 17:03:45 +0000	[thread overview]
Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> (raw)

Hi all,

This patch set implements standard device table matching mechanism
for SPI subsystem, the same device id tables as we use in I2C drivers.

I started this work because m25p80 driver misdetects non-JEDEC
chips when it is used on OpenFirmware platforms (cause we don't pass
platform_data). platform_data is overkill for m25p80 chips, the
driver only needs to know exact chip model, and that's what device
tables are for.

So the patches:

  [1/7] spi: Add support for device table matching
  [2/7] mtd: m25p80: Convert to device table matching
  [3/7] of: Remove "stm,m25p40" alias

The three patches above do real work. I tried to keep the 1/7 patch as
small as possible, and factor out the subsystem cleanups into other,
"cleanup" patches:

  [PATCH 4/7] spi: Prefix modalias with "spi:"
  [PATCH 5/7] spi: Merge probe and probe_id callbacks

These two patches I consider as cleanups, they should not introduce
any behavioural change, but they touch quite a lot of files.

  [PATCH 6/7] hwmon: adxx: Convert to device table matching
  [PATCH 7/7] hwmon: lm70: Convert to device table matching

These two are here because I couldn't stop. :-) Also cleanups.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

WARNING: multiple messages have this Message-ID (diff)
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
	linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
	linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org,
	Jean Delvare <khali@linux-fr.org>,
	David Woodhouse <dwmw2@infradead.org>
Subject: [PATCH 0/7] Device table matching for SPI subsystem
Date: Wed, 29 Jul 2009 21:03:45 +0400	[thread overview]
Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> (raw)

Hi all,

This patch set implements standard device table matching mechanism
for SPI subsystem, the same device id tables as we use in I2C drivers.

I started this work because m25p80 driver misdetects non-JEDEC
chips when it is used on OpenFirmware platforms (cause we don't pass
platform_data). platform_data is overkill for m25p80 chips, the
driver only needs to know exact chip model, and that's what device
tables are for.

So the patches:

  [1/7] spi: Add support for device table matching
  [2/7] mtd: m25p80: Convert to device table matching
  [3/7] of: Remove "stm,m25p40" alias

The three patches above do real work. I tried to keep the 1/7 patch as
small as possible, and factor out the subsystem cleanups into other,
"cleanup" patches:

  [PATCH 4/7] spi: Prefix modalias with "spi:"
  [PATCH 5/7] spi: Merge probe and probe_id callbacks

These two patches I consider as cleanups, they should not introduce
any behavioural change, but they touch quite a lot of files.

  [PATCH 6/7] hwmon: adxx: Convert to device table matching
  [PATCH 7/7] hwmon: lm70: Convert to device table matching

These two are here because I couldn't stop. :-) Also cleanups.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

WARNING: multiple messages have this Message-ID (diff)
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
	David Woodhouse <dwmw2@infradead.org>,
	Grant Likely <grant.likely@secretlab.ca>,
	Jean Delvare <khali@linux-fr.org>,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	lm-sensors@lm-sensors.org, linuxppc-dev@ozlabs.org
Subject: [PATCH 0/7] Device table matching for SPI subsystem
Date: Wed, 29 Jul 2009 21:03:45 +0400	[thread overview]
Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> (raw)

Hi all,

This patch set implements standard device table matching mechanism
for SPI subsystem, the same device id tables as we use in I2C drivers.

I started this work because m25p80 driver misdetects non-JEDEC
chips when it is used on OpenFirmware platforms (cause we don't pass
platform_data). platform_data is overkill for m25p80 chips, the
driver only needs to know exact chip model, and that's what device
tables are for.

So the patches:

  [1/7] spi: Add support for device table matching
  [2/7] mtd: m25p80: Convert to device table matching
  [3/7] of: Remove "stm,m25p40" alias

The three patches above do real work. I tried to keep the 1/7 patch as
small as possible, and factor out the subsystem cleanups into other,
"cleanup" patches:

  [PATCH 4/7] spi: Prefix modalias with "spi:"
  [PATCH 5/7] spi: Merge probe and probe_id callbacks

These two patches I consider as cleanups, they should not introduce
any behavioural change, but they touch quite a lot of files.

  [PATCH 6/7] hwmon: adxx: Convert to device table matching
  [PATCH 7/7] hwmon: lm70: Convert to device table matching

These two are here because I couldn't stop. :-) Also cleanups.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

             reply	other threads:[~2009-07-29 17:03 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29 17:03 Anton Vorontsov [this message]
2009-07-29 17:03 ` [PATCH 0/7] Device table matching for SPI subsystem Anton Vorontsov
2009-07-29 17:03 ` Anton Vorontsov
2009-07-29 17:03 ` [lm-sensors] " Anton Vorontsov
2009-07-29 17:04 ` [PATCH 1/7] spi: Add support for device table matching Anton Vorontsov
2009-07-29 17:04   ` Anton Vorontsov
2009-07-29 17:04   ` Anton Vorontsov
2009-07-29 17:04   ` [lm-sensors] " Anton Vorontsov
2009-07-29 21:44   ` Ben Dooks
2009-07-29 21:44     ` Ben Dooks
2009-07-29 21:44     ` Ben Dooks
2009-07-29 21:44     ` [lm-sensors] [PATCH 1/7] spi: Add support for device table Ben Dooks
2009-07-29 22:32     ` [PATCH 1/7] spi: Add support for device table matching Anton Vorontsov
2009-07-29 22:32       ` Anton Vorontsov
2009-07-29 22:32       ` Anton Vorontsov
2009-07-29 22:32       ` [lm-sensors] [PATCH 1/7] spi: Add support for device table Anton Vorontsov
2009-07-29 22:40       ` [PATCH 1/7] spi: Add support for device table matching Anton Vorontsov
2009-07-29 22:40         ` Anton Vorontsov
2009-07-29 22:40         ` Anton Vorontsov
2009-07-29 22:40         ` [lm-sensors] [PATCH 1/7] spi: Add support for device table Anton Vorontsov
2009-07-30  2:12         ` [PATCH 1/7] spi: Add support for device table matching Anton Vorontsov
2009-07-30  2:12           ` Anton Vorontsov
2009-07-30  2:12           ` Anton Vorontsov
2009-07-30  2:12           ` [lm-sensors] [PATCH 1/7] spi: Add support for device table Anton Vorontsov
2009-08-04  2:21     ` [PATCH 1/7] spi: Add support for device table matching David Brownell
2009-08-04  2:21       ` David Brownell
2009-08-04  2:21       ` David Brownell
2009-08-04  2:21       ` [lm-sensors] [PATCH 1/7] spi: Add support for device table David Brownell
2009-08-05  1:06       ` [PATCH 1/7] spi: Add support for device table matching Anton Vorontsov
2009-08-05  1:06         ` Anton Vorontsov
2009-08-05  1:06         ` Anton Vorontsov
2009-08-05  1:06         ` [lm-sensors] [PATCH 1/7] spi: Add support for device table Anton Vorontsov
2009-07-29 17:05 ` [PATCH 2/7] mtd: m25p80: Convert to device table matching Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] [PATCH 2/7] mtd: m25p80: Convert to device table Anton Vorontsov
2009-07-29 17:05 ` [PATCH 3/7] of: Remove "stm,m25p40" alias Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] " Anton Vorontsov
2009-07-29 17:05 ` [PATCH 4/7] spi: Prefix modalias with "spi:" Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] " Anton Vorontsov
2009-08-12  4:12   ` Mike Frysinger
2009-08-12  4:12     ` Mike Frysinger
2009-08-12  4:12     ` Mike Frysinger
2009-08-12  4:12     ` [lm-sensors] " Mike Frysinger
2009-07-29 17:05 ` [PATCH 5/7] spi: Merge probe and probe_id callbacks Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] " Anton Vorontsov
2009-07-29 17:05 ` [PATCH 6/7] hwmon: adxx: Convert to device table matching Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] [PATCH 6/7] hwmon: adxx: Convert to device table Anton Vorontsov
2009-07-29 17:05 ` [PATCH 7/7] hwmon: lm70: Convert to device table matching Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` Anton Vorontsov
2009-07-29 17:05   ` [lm-sensors] [PATCH 7/7] hwmon: lm70: Convert to device table Anton Vorontsov
2009-08-04  2:16 ` [PATCH 0/7] Device table matching for SPI subsystem David Brownell
2009-08-04  2:16   ` David Brownell
2009-08-04  2:16   ` David Brownell
2009-08-04  2:16   ` [lm-sensors] " David Brownell
2009-08-05  0:54   ` Anton Vorontsov
2009-08-05  0:54     ` Anton Vorontsov
2009-08-05  0:54     ` Anton Vorontsov
2009-08-05  0:54     ` [lm-sensors] " Anton Vorontsov

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=20090729170345.GA26787@oksana.dev.rtsoft.ru \
    --to=avorontsov@ru.mvista.com \
    --cc=akpm@linux-foundation.org \
    --cc=dbrownell@users.sourceforge.net \
    --cc=dwmw2@infradead.org \
    --cc=grant.likely@secretlab.ca \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=lm-sensors@lm-sensors.org \
    /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.