From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [213.79.90.228] (helo=buildserver.ru.mvista.com) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MWCZA-0005Oj-1G for linux-mtd@lists.infradead.org; Wed, 29 Jul 2009 17:03:52 +0000 Date: Wed, 29 Jul 2009 21:03:45 +0400 From: Anton Vorontsov To: Andrew Morton Subject: [PATCH 0/7] Device table matching for SPI subsystem Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Cc: David Brownell , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Grant Likely , linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, Jean Delvare , David Woodhouse Reply-To: avorontsov@ru.mvista.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Date: Wed, 29 Jul 2009 17:03:45 +0000 Subject: [lm-sensors] [PATCH 0/7] Device table matching for SPI subsystem Message-Id: <20090729170345.GA26787@oksana.dev.rtsoft.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton Cc: David Brownell , David Woodhouse , Grant Likely , Jean Delvare , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, linuxppc-dev@ozlabs.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 67705B70B3 for ; Thu, 30 Jul 2009 03:03:49 +1000 (EST) Received: from buildserver.ru.mvista.com (unknown [213.79.90.228]) by ozlabs.org (Postfix) with ESMTP id F1CCEDDD0B for ; Thu, 30 Jul 2009 03:03:48 +1000 (EST) Date: Wed, 29 Jul 2009 21:03:45 +0400 From: Anton Vorontsov To: Andrew Morton Subject: [PATCH 0/7] Device table matching for SPI subsystem Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: David Brownell , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, Jean Delvare , David Woodhouse Reply-To: avorontsov@ru.mvista.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755921AbZG2RDr (ORCPT ); Wed, 29 Jul 2009 13:03:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755809AbZG2RDq (ORCPT ); Wed, 29 Jul 2009 13:03:46 -0400 Received: from ru.mvista.com ([213.79.90.228]:28615 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755687AbZG2RDq (ORCPT ); Wed, 29 Jul 2009 13:03:46 -0400 Date: Wed, 29 Jul 2009 21:03:45 +0400 From: Anton Vorontsov To: Andrew Morton Cc: David Brownell , David Woodhouse , Grant Likely , Jean Delvare , 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 Message-ID: <20090729170345.GA26787@oksana.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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