Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp483375pxm; Wed, 23 Feb 2022 04:56:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrYUpRq/TlMfqswQsbcZXN+1mz9URYC2yA8OxQX28K9sP8Pza1VqwqX7Mk5NAyo1mAcE6Y X-Received: by 2002:a17:907:7671:b0:6ce:d2e8:d5fc with SMTP id kk17-20020a170907767100b006ced2e8d5fcmr22974298ejc.512.1645620966677; Wed, 23 Feb 2022 04:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645620966; cv=none; d=google.com; s=arc-20160816; b=v/r3YpvL/U1Y/0a/Rdg5qq8/0im12xvc9oermpXf81aifxbdKh7hoWa+X2wHCKdl75 deOvOn2HsX8VKCQrPNE2zbLctK7I1YlnlKtxw42bwTiS+1gZP3UtfvFo7cgAeUQaFIYB nZg8MoUxkKz9iAWgFzlftPCLBjRIVw20CUXd6DJKEfYs7a3CcbbwQIpGS1eZyrH6/sr8 GLnHCC0fvVK+jrmE5oG+13gOfW9v3oklq8haQ8MyJirrUPtz+UlVDXQgcZ5tuOEeEBP0 giq87aBsUFRqCxh0kGRDo+fw3NzZt1I9Jlap3BZK7XGqwI6oycqukm8nb/2x1QHm3rw4 k5IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yk6SNKianhpjhvKW/gj80/lPZTcyC/9J0cogNxukYsY=; b=sdoMHzrSmj3zmc0QxUN6NLMdZapn2RMzJv6+Sn+z8kycgF2vmosrJ5HW0bNlQu8jsn 22G4KqPRQq475uF7SpeZyxYlfXiQ11418Rzv2+rwN8NegRXEsDvDkAb5M2A5mnJxhlez plLFd1HRE/QeJyS/ldloUI9Hzf/Yg3Y+nV1Sik0A1BGbkLM0uHTexYCDYdFnB5w1VSKA pOgCi8wTBn9wI50lD3iTzZT9aKB8EXoHBIn0K9ayA4ymoyRiWyHkSV5sp1IYJImfG9ta tJMtXKwr4eNweh1uW2sqPbqKlgpjg4iv2oPCqsSJoHc5N0nWF4CveuL3ckny9D6kvnxL xV+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ni0uF5R9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26si12501543ejc.283.2022.02.23.04.55.42; Wed, 23 Feb 2022 04:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ni0uF5R9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238503AbiBWGyZ (ORCPT + 99 others); Wed, 23 Feb 2022 01:54:25 -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> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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