From patchwork Mon Sep 7 12:57:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 251621 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A6DBC43461 for ; Mon, 7 Sep 2020 17:46:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06C28206E7 for ; Mon, 7 Sep 2020 17:46:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729360AbgIGRqw (ORCPT ); Mon, 7 Sep 2020 13:46:52 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:33902 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729331AbgIGNFb (ORCPT ); Mon, 7 Sep 2020 09:05:31 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 9CFF3F15E6D26C6BBD1D; Mon, 7 Sep 2020 21:05:29 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Mon, 7 Sep 2020 21:05:06 +0800 From: Hanjun Guo To: "Rafael J. Wysocki" CC: , , Ken Xue , Hanjun Guo Subject: [PATCH v2 0/5] Cleanups for ACPI APD driver Date: Mon, 7 Sep 2020 20:57:28 +0800 Message-ID: <1599483453-26635-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. v1->v2: - Fix the compile warning reported by kernel test robot. 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(-)