Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2198241pxf; Sat, 27 Mar 2021 05:12:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdt99fRwHmV9FtfbAuO92TQBD3Pmz98B6rFczluiwjsNe3UHVB99I26EoG5WI/IL5w8nhU X-Received: by 2002:a17:906:b846:: with SMTP id ga6mr19831360ejb.542.1616847122641; Sat, 27 Mar 2021 05:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616847122; cv=none; d=google.com; s=arc-20160816; b=IDPkxh7scGTM+au7uHQjPsJkjhgz0z0OhGXMgBU+LjPnCrr2tO02Y9YUV6GnuMsG1F OQtvihU9StVbCBb32yenIrByhYYnrrWOfjnWWjPMXiRxfjCFmkFQdHpH1dgKV2dQIIPV rZYhVdqGx07+yn8UUgh74y+rlXoQgX+Juruk8MfOMXLJYaa7luthzmI2cMX4swlFalqI n6lFl9akrz43DMTm8l5ndrEUuuO1xmJ303t5QUIy1RePbKZTMhQeYcYlecXXNCoaNU43 pkVZk4gTao6n1/YEuk1U+UVPM0kP5rMAqeYl0hJFbR6kVw+HgYB2iSdHFSVzQz+kupQT qq0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=YX9RBj8JgiN808gT6uC1fJnz47FhXqe1S3+r70fj2OY=; b=WA3LSg6NGIIV20AIKoSEQ/Npp4JJ8E1HZx/AkRRhE5Gkb0S0W2ev3YzwMdjMT+N3pK BCMvgA6hSrTVCs2X9wTRxTGfTUlRFaiBiQuMZDm3043rfstocWHN05hMyqWwzUbfKSv+ 69xYAmBnNmudJaZuHODR04kjlOiw4dZxVc2bIlGe2dTo1IhA4YtLQLuXHyV01MebBPtp F6tityS+jHJhsdRn6BvxTpJzZ2NAkZpZGMxmwZoR83MTbC95FGyFgfaJ4hnMaODu5RLX 0Slz9yFewwV87LF3AwHUqBOn8klatG/6goxovUJ0ZVu9CrBbDZVkDr6meZ1dekM17cZ8 pEdA== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si8802897edy.86.2021.03.27.05.11.40; Sat, 27 Mar 2021 05:12:02 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbhC0MLM (ORCPT + 99 others); Sat, 27 Mar 2021 08:11:12 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15013 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbhC0MLL (ORCPT ); Sat, 27 Mar 2021 08:11:11 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6yKv0bG6zPsyJ; Sat, 27 Mar 2021 20:08:35 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 20:11:01 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH v3 07/12] ACPI: button: fix some coding style issues Date: Sat, 27 Mar 2021 20:08:19 +0800 Message-ID: <1616846904-25719-8-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616846904-25719-1-git-send-email-tanxiaofei@huawei.com> References: <1616846904-25719-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line ERROR: code indent should use tabs where possible Signed-off-by: Xiaofei Tan --- drivers/acpi/button.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 85e5e03..f25bd33 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -156,10 +156,7 @@ static unsigned long lid_report_interval __read_mostly = 500; module_param(lid_report_interval, ulong, 0644); MODULE_PARM_DESC(lid_report_interval, "Interval (ms) between lid key events"); -/* -------------------------------------------------------------------------- - FS Interface (/proc) - -------------------------------------------------------------------------- */ - +/* FS Interface (/proc) */ static struct proc_dir_entry *acpi_button_dir; static struct proc_dir_entry *acpi_lid_dir; @@ -348,9 +345,7 @@ static int acpi_button_remove_fs(struct acpi_device *device) return 0; } -/* -------------------------------------------------------------------------- - Driver Interface - -------------------------------------------------------------------------- */ +/* Driver Interface */ int acpi_lid_open(void) { if (!lid_device) -- 2.8.1