Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5541611pxb; Wed, 26 Jan 2022 14:34:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTUH349KfIrzOx68H8uUX+FbfY/Qum2Yh4icBYkiLueX/TTdTDjSXOlxw/VjQvSt1W8iXh X-Received: by 2002:a50:ef16:: with SMTP id m22mr1057646eds.340.1643236481995; Wed, 26 Jan 2022 14:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643236481; cv=none; d=google.com; s=arc-20160816; b=oVCY1m+L09NEowyoJdZSFr+X09pJS/pNWEJkMZSrnvGZHl0qWo8IRNj8GrK76v8Wat uwsvQ6OubCZmtcFzqoQ2itAKuymkjyBXy5Xlf1FIqcVTK2TuTRu4F91f+R1613NYb9Is eoDKh2fk/pJB/HLV8cR28zSublS0rWmEuoeu0UMt3x3LDq4lDwqtwLllmkOms5opNgN4 rHhN4Ocjfgn6Cud+54iGAS7/e6sCrykVXghNn7SfarXg/fGQjAxxpu6xE9ECn6l2WPOR lHK98Eggc5GHArp91D155adEhN3HMpf6vqHXFnOtZlfp6o5uvFucEhZSA6QDEBSFkl1p bqLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=bbaHACllujteH6JdIJ6LoiTTYcFN1y19+kRKfLa7E8A=; b=GI+PfCNuDIGuQe4on88CtYOtcDpsP8YgcWX6HrwblwvCaLhc/GzL2iICPyWGxS6dEa 0shksQ2pdWaMygE2tIn4NaZCzMycRujAtu9v1+7JS3HoQG/tYBG6Dkb1D6CXYu4mr72Q PSc9zersQRygE6prr7aKQETz9ZMggKRs6+O+L2aNBpHY44GjHphtWDA5LSjliZe4kzdZ j/R3xbwuJpzE6TZOv26MawrUbuRGLtc/b13SJpjxaBPnJ/xc05J594WXPNKXVkADgLWl pPpcOQQTnnxV1Hj+R9+D1Ze5y7NkcvCKVydRL9nmtZYLYSgGwycAhqiQS30qSKTIs0cg 58LA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si248790ede.423.2022.01.26.14.34.16; Wed, 26 Jan 2022 14:34:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234368AbiAZTxm (ORCPT + 99 others); Wed, 26 Jan 2022 14:53:42 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:59384 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231679AbiAZTxl (ORCPT ); Wed, 26 Jan 2022 14:53:41 -0500 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 4.0.0) id 1960388098a7ab29; Wed, 26 Jan 2022 20:53:39 +0100 Received: from kreacher.localnet (unknown [213.134.162.63]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id C02F566B35A; Wed, 26 Jan 2022 20:53:38 +0100 (CET) From: "Rafael J. Wysocki" To: Greg Kroah-Hartman Cc: Linux ACPI , Greg Kroah-Hartman , linux-usb@vger.kernel.org, LKML Subject: [PATCH] USB: ACPI: Replace acpi_bus_get_device() Date: Wed, 26 Jan 2022 20:53:38 +0100 Message-ID: <1899393.PYKUYFuaPT@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.162.63 X-CLIENT-HOSTNAME: 213.134.162.63 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrfedugdduvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpefhgedtffejheekgeeljeevvedtuefgffeiieejuddutdekgfejvdehueejjeetvdenucfkphepvddufedrudefgedrudeivddrieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeivddrieefpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeehpdhrtghpthhtohepghhrvghgkhhhsehlihhnuhigfhhouhhnuggrthhiohhnrdhorhhgpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidquhhssgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 Fuz2=5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki Replace acpi_bus_get_device() that is going to be dropped with acpi_fetch_acpi_dev(). No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/usb/core/usb-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-pm/drivers/usb/core/usb-acpi.c =================================================================== --- linux-pm.orig/drivers/usb/core/usb-acpi.c +++ linux-pm/drivers/usb/core/usb-acpi.c @@ -166,7 +166,7 @@ usb_acpi_get_companion_for_port(struct u if (!parent_handle) return NULL; - acpi_bus_get_device(parent_handle, &adev); + adev = acpi_fetch_acpi_dev(parent_handle); port1 = port_dev->portnum; }