Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1198047pxb; Mon, 11 Oct 2021 00:04:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEKkaWWLfuZGObtodTjLZxpgQI6N5pzJtttllgrvJX9GMXXfSlniRR7N7JzakvL12t6vov X-Received: by 2002:a05:6402:2748:: with SMTP id z8mr7130270edd.25.1633935851734; Mon, 11 Oct 2021 00:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633935851; cv=none; d=google.com; s=arc-20160816; b=jkh0vnAPbKWw05b3oQZkqSS5Vy2a0X1d4ZnzRmBoPnpZulbN6CIh8ffAfDanhXyod0 shUYixR9L1DEWI2ShQB12w6tNtdnUNiLEudV5SZ6+xvKT8Mj5mzacjW/kjryOjMOJmdU BKnHci2CNJ0eyUUos2/CpcAKMtiKCuvciJvVsk4tGa20UqsiMI3ztuTsasAkvfQO0jjQ PHz5qVKPM6ipbqBhjfnlmqI9rf+E7PUaroxhxbqzL08FVKOm/ZxzCUNEuyfLR/fSiny8 Dz2mu6xApNOEaJ2aH6o21LzAF+HIGcAbRm2zyW0mlusjpG0F0LPgibncTjCwQVbSOvw0 YZxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=fabxuIqEvLrUUskJlUmyCStRmtQmEqx/3VKNT63FciE=; b=tjLa5v6nQo631aOzM5hOZNsBMBydFUZBFjp2y/wu2UQdKxotN+i2os1lsh7lpY++Go EhTWlGc2sRAFoFeccUK1Y61lcxgmKTP5eL725GdKABjLBwNGPduoPjL0oy7nki9EY1JV qLMSdTMAHDbbdZHqLEGRfFxcaFzbzfbUrR5nkSOmzKordUlSfDe3wQEtB+7ENBGBnhMi 1+riP32KL50Ua1/Gfo8IL6pQFAfp4cnpuDSdJjWlK8CL8j7uBF97i/tyAAqECSbGoxlr d7O48BFQE/gXXLC9oNQ5xeE497J1zyf5ZavGBenZ9JOezIwjWv3QrP85w3UUXxkGsn+o 7vew== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si9596646ejo.756.2021.10.11.00.03.48; Mon, 11 Oct 2021 00:04:11 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234072AbhJKGOB (ORCPT + 99 others); Mon, 11 Oct 2021 02:14:01 -0400 Received: from mga05.intel.com ([192.55.52.43]:45255 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234036AbhJKGOA (ORCPT ); Mon, 11 Oct 2021 02:14:00 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10133"; a="313004452" X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="313004452" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2021 23:12:01 -0700 X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="546884850" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2021 23:11:58 -0700 Received: by lahna (sSMTP sendmail emulation); Mon, 11 Oct 2021 09:11:55 +0300 Date: Mon, 11 Oct 2021 09:11:55 +0300 From: Mika Westerberg To: "Rafael J. Wysocki" Cc: Linux ACPI , Andy Shevchenko , LKML Subject: Re: [PATCH v2] ACPI: LPSS: Use ACPI_COMPANION() directly Message-ID: References: <11853240.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11853240.O9o76ZdvQC@kreacher> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 10, 2021 at 07:23:01PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI_HANDLE() macro returns the ACPI handle of the ACPI device > object returned by the ACPI_COMPANION() macro, so it is more > straightforward to call the latter directly instead of passing > the handle produced by the former to acpi_bus_get_device(). > > Modify the code accordingly (no intentional functional impact). > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg