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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 668D1C433EF for ; Wed, 23 Feb 2022 06:53:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238425AbiBWGyY (ORCPT ); Wed, 23 Feb 2022 01:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236710AbiBWGyY (ORCPT ); Wed, 23 Feb 2022 01:54:24 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE0A6E4DE; Tue, 22 Feb 2022 22:53:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7AFDC614A1; Wed, 23 Feb 2022 06:53:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CB85C340E7; Wed, 23 Feb 2022 06:53:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645599236; bh=CC5KnLvYTDWcou/flBRkpm74kh6sin3lWzN3f4vNh0Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ni0uF5R9i52mHG8G36cXjuU2W3LNpT1OdXi3tD3lffJSk3IScFS6t+UiinH02/a5D hTdObu6TTksvfrXTAYQiO8WdmFBNDuYVpss3+Z4x20FyxNXqXnDjbwBgzxU9EL2l+P brpJN0R9k9RqLe/T4VibAuTcwT4S5n8MtVuBE5fg= Date: Wed, 23 Feb 2022 07:53:53 +0100 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" Cc: Linux ACPI , Heikki Krogerus , linux-usb@vger.kernel.org, LKML Subject: Re: [PATCH v1] ACPI: bus: Introduce acpi_bus_for_each_dev() Message-ID: References: <11943345.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11943345.O9o76ZdvQC@kreacher> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Tue, Feb 22, 2022 at 08:51:42PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In order to avoid exposing acpi_bus_type to modules, introduce an > acpi_bus_for_each_dev() helper for iterating over all ACPI device > objects and make typec_link_ports() use it instead of the raw > bus_for_each_dev() along with acpi_bus_type. > > Having done that, drop the acpi_bus_type export. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Greg Kroah-Hartman