Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3750792rwe; Mon, 29 Aug 2022 19:47:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR6LsTwU/BGkAwf7CFvWL29Trz60Q8L1PKnWFDaFoR9PVKvWDkUUJbSJPZotfSmmJSPFkqKV X-Received: by 2002:a17:907:6090:b0:734:be0c:e2e7 with SMTP id ht16-20020a170907609000b00734be0ce2e7mr15646782ejc.408.1661827675501; Mon, 29 Aug 2022 19:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661827675; cv=none; d=google.com; s=arc-20160816; b=1DQ3Oy4rfE1umsVn3E26uGEaDIYRpLV9ygRsxftymyjn+MBR0xkrTmBoUE1gV0p1hU cJySee/ojJcK8RON4vqUzQ6xVHqGIw1PNt0ESTuLsWKPRW52tpbAsrqNxaE3lZhUGnFt t7lttB29t2njOk7exrmx88KOr95QcCyRlfm0YlJ0rdaVIyVm9JF+Ob91rgI2DLMLykVP aPtWvOr9oyNDcmyjJq2xCSWSNT9KOSCFx2apwGexmsrgOjLqEx8xSGofilb/X5fmoR+V HRC6F4RwFBdPP0BY+26nbgg1Cyq7r1raDbnSZrGaQQH8F7Hyb3OB4Z8Khk3bEsn5cUuu Z0sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=cY3CsqxvqudM/9jClDd+SHlXLADCvYtDqfOnztXPuxI=; b=PgxuLuIOms2qf437D1CZR82gG47ssQ8BzcbR9w1U4cHnIUpa8vjYEDc6H1CcEFgVZ5 FpBuVZHe8/TF5GzFQKc+WsX8GsgnEHXGPE2DyOiSZg4sOIlXvD1L2qslu/+vZptyDKHl NwnuI29BVp/jRtwsbFXnw2APWKizKcGle4zfr7qduJlOq/jTvL2tVDXZ+tA3A6P1graD 3A3fUOJDIxeyPmLBIxXM+1pYbhgcPWLiWKj/0Cyo+jPr1AYoh4+zbgZp4WTteh7nvtW1 3D0EgvHh8nNvI9n6w5VXxN/sXDkClkJdA04vnJgzWv261wu4xQ+Gj0dK6mhFoyzPG1P6 SjAg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg6-20020a1709072cc600b0073d610ccf33si7626543ejc.296.2022.08.29.19.47.28; Mon, 29 Aug 2022 19:47:55 -0700 (PDT) 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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbiH3CRk (ORCPT + 99 others); Mon, 29 Aug 2022 22:17:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiH3CRi (ORCPT ); Mon, 29 Aug 2022 22:17:38 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3AA77A754; Mon, 29 Aug 2022 19:17:35 -0700 (PDT) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MGrVh3fmzznTqZ; Tue, 30 Aug 2022 10:15:08 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 30 Aug 2022 10:17:33 +0800 Received: from [10.174.178.247] (10.174.178.247) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 30 Aug 2022 10:17:33 +0800 Subject: Re: [PATCH v1] ACPI: Drop redundant acpi_dev_parent() header To: "Rafael J. Wysocki" , Linux ACPI CC: LKML , Andy Shevchenko , Linux PM References: <12036348.O9o76ZdvQC@kreacher> <2664175.mvXUDI8C0e@kreacher> From: Hanjun Guo Message-ID: <8cfa23e7-2971-8dcd-2354-04df8ad6102b@huawei.com> Date: Tue, 30 Aug 2022 10:17:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <2664175.mvXUDI8C0e@kreacher> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.247] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 2022/8/29 23:53, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Because acpi_dev_parent() is defined as static inline, the extra > header of it in acpi_bus.h is redundant, so drop it. > > Fixes: 62fcb99bdf10 ("ACPI: Drop parent field from struct acpi_device") > Reported-by: Hanjun Guo > Signed-off-by: Rafael J. Wysocki Reviewed-by: Hanjun Guo Thanks Hanjun