From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9E40C433EF for ; Thu, 14 Oct 2021 08:48:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9E97B610D2 for ; Thu, 14 Oct 2021 08:48:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbhJNIu3 (ORCPT ); Thu, 14 Oct 2021 04:50:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:44954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbhJNIuU (ORCPT ); Thu, 14 Oct 2021 04:50:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F12636101E; Thu, 14 Oct 2021 08:48:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634201296; bh=GqPIsa1r+FpZHXvu2y7bSJcct4I9M3uZm3XKR3JDIAw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WAF7eTmHH4gCeJg5DvJpyP0F2QjL/MDwjnMDRGxLE92+Rn6cBeZe10dBMKVB0xmn1 nUDOCpjAuNyJzEtAPOc8FERqaNQ+vbrCHkCOOg92iuwbHTk7F5X+P0gw5AkcdI6nRp 57+QDe23QoN+DXz2YdBW4ErHlhVUVN3TcpVM89F4= Date: Thu, 14 Oct 2021 10:48:14 +0200 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" Cc: Andy Shevchenko , Saravana Kannan , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , linux-i2c , Mika Westerberg , Linus Walleij , Bartosz Golaszewski , Wolfram Sang Subject: Re: [PATCH v3 1/3] driver core: Provide device_match_acpi_handle() helper Message-ID: References: <20211007171815.28336-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 08:33:14PM +0200, Rafael J. Wysocki wrote: > On Wed, Oct 13, 2021 at 8:24 PM Andy Shevchenko > wrote: > > > > On Wed, Oct 13, 2021 at 07:47:37PM +0200, Rafael J. Wysocki wrote: > > > On Thu, Oct 7, 2021 at 7:18 PM Andy Shevchenko > > > wrote: > > > > > > > > We have couple of users of this helper, make it available for them. > > > > > > "a couple"? > > > > Yep. > > > > > > EXPORT_SYMBOL(device_match_acpi_dev); > > > > > > > > +int device_match_acpi_handle(struct device *dev, const void *handle) > > > > > > Hmmm. Should the second arg be of type acpi_handle? > > > > acpi_handle is not defined as struct and it means the header, where the > > prototype is declared, will require acpi.h to be included. Besides that the > > whole set of device_match_*() is done by the same prototype, so it can be used > > in bus_find_device() calls. > > Ah, OK, it's for bus_find_device(). > > > > And doesn't this function belong to the ACPI core? It is related to > > > acpi_bus_get_device() and such which are located there. > > > > Same as above. I don't think so. > > I see, but any chance to improve the changelog? I will drop this from my testing tree and wait for a new version with a better changelog. thanks, greg k-h