From patchwork Mon Sep 7 08:56:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 11760225 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42F6B92C for ; Mon, 7 Sep 2020 09:04:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D41321556 for ; Mon, 7 Sep 2020 09:04:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728199AbgIGJEh (ORCPT ); Mon, 7 Sep 2020 05:04:37 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:33376 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728180AbgIGJEf (ORCPT ); Mon, 7 Sep 2020 05:04:35 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 7EC0FECBFBD84D1A1059; Mon, 7 Sep 2020 17:04:34 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Mon, 7 Sep 2020 17:04:14 +0800 From: Hanjun Guo To: "Rafael J. Wysocki" CC: , Ken Xue , Hanjun Guo Subject: [PATCH 0/5] Cleanups for ACPI APD driver Date: Mon, 7 Sep 2020 16:56:16 +0800 Message-ID: <1599468981-17301-1-git-send-email-guohanjun@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org ACPI APD driver has some unused code and some mis-behaved kernel doc, make a cleanup for this driver. Tested on Hisilicon ARM64, and compile tested on Intel x86. Hanjun Guo (5): ACPI / APD: Add kernel doc for the properties in struct apd_device_desc ACPI / APD: Remove the flags in struct apd_device_desc ACPI / APD: Remove ACPI_MODULE_NAME() ACPI / APD: Remove the unneeded APD_ADDR(desc) macro define ACPI / APD: Head file including cleanups drivers/acpi/acpi_apd.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-)