From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256Ab3K2CXC (ORCPT ); Thu, 28 Nov 2013 21:23:02 -0500 Received: from mga01.intel.com ([192.55.52.88]:29206 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135Ab3K2CW7 (ORCPT ); Thu, 28 Nov 2013 21:22:59 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,795,1378882800"; d="scan'208";a="441814160" Message-ID: <5297F7C9.6090303@intel.com> Date: Fri, 29 Nov 2013 10:11:21 +0800 From: Lan Tianyu User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: "Rafael J. Wysocki" CC: ACPI Devel Maling List , Linux PCI , LKML , Greg Kroah-Hartman , Aaron Lu , Toshi Kani , Bjorn Helgaas , linux-ide@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 0/3] ACPI / bind: Use struct acpi_device pointers instead of ACPI handles References: <4501334.ovACrGogrl@vostro.rjw.lan> In-Reply-To: <4501334.ovACrGogrl@vostro.rjw.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2013年11月29日 08:36, Rafael J. Wysocki wrote: > Hi, > > Now that we store a pointer to struct acpi_device as the ACPI companion in > struct device, the code making associations between "physical" devices and > ACPI device objects can be modified to work with struct acpi_device pointers > instead of ACPI handles too. The first two of the following patches make these > changes and the third one is just a related cleanup. > > [1/3] ACPI / bind: Replace .find_device in struct acpi_bus_type with .find_companion > [2/3] ACPI / bind: Modify acpi_bind_one() to take a struct acpi_device pointer as > the second argument. > [3/3] ACPI / bind: Move acpi_get_child() to ide-acpi.c which is the only remaining > user of that function. > Test usb/ACPI bind part, it works normally. Tested-by: Lan Tianyu > The patches are on top of linux-pm.git/linux-next. Please let me know if you see > any problems in them. > > Thanks! > -- Best regards Tianyu Lan