From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Nikula Subject: [PATCHv3 0/3] I2C and SPI dev_name change for ACPI enumerated slaves Date: Thu, 14 Nov 2013 11:00:58 +0200 Message-ID: <1384419661-28293-1-git-send-email-jarkko.nikula@linux.intel.com> References: <1383309356-25430-1-git-send-email-jarkko.nikula@linux.intel.com> Return-path: In-Reply-To: <1383309356-25430-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Rafael J. Wysocki" , Mark Brown , Wolfram Sang Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jarkko Nikula List-Id: alsa-devel@alsa-project.org Hi Third version of the set that changes I2C and SPI slave device names to be generated from stable ACPI device names on ACPI 5 based systems instead of using bus numbers which could change. Slave device name change goes as "x-00yz" -> "i2c-INTABCD:ij" "spix.y" -> "spi-INTABCD:ij" This version is actually a bit cleaner thanks to Rafael's "ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_node" in git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm Set goes on top of linux-pm/linux-next due dependency to 1/3. As we are now in merge-window I'm fine if 1/3 goes in first and I queue 2-3/3 later to i2c and spi trees. Jarkko Nikula (3): ACPI: Provide struct acpi_device stub for !CONFIG_ACPI builds i2c: Use stable dev_name for ACPI enumerated I2C slaves spi: Use stable dev_name for ACPI enumerated SPI slaves drivers/i2c/i2c-core.c | 21 +++++++++++++++++---- drivers/spi/spi.c | 17 ++++++++++++++--- include/linux/acpi.h | 4 ++++ 3 files changed, 35 insertions(+), 7 deletions(-) -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html