Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2009882pxf; Fri, 26 Mar 2021 23:55:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFR+V4opp79HoCv+3+1rQ1IcwHSd1YgOc3lYY4XSKrZv4fJdRXuhVuHHf0kcLm2Au8OWWT X-Received: by 2002:a05:6402:1051:: with SMTP id e17mr18995399edu.42.1616828112618; Fri, 26 Mar 2021 23:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616828112; cv=none; d=google.com; s=arc-20160816; b=maY/IJDAcTQbAkZF3oW1MCes/AD16I4c4X4R8r5MJUyHCb1sIqB17dNMsbNqt4Y4d9 X9BLHlIujf+5gOmBpbMjD9tF7K9tjWjMph4+PRUPWnN1T4xtA7LLFJVQQSp0TRthWIvb WJ5u+hQqiDtwOS1wCh6Q6luX3kCQY1BgrhPL9LvpOzs5LA89JWdlEXSnrLsguTmZJ5Q2 RK4f2i9k1hSrakZivE3zb2aTDlVcXkFn4mnYP/PQIN4v90mBJEQ7doblVyDTCGw9lF0M oBeNt9SlcE6QHYmD/V2np9ZLaQv/+E1nUsANIrKNka3AYz4gfRdBq8zX3vhboc3xOq7P q6KA== 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=CUJ0IloKtkZJP/Swr3lKotPbP6/LFcUiPbmOOWERxR0=; b=jtSIgUg3Yas0FbhKqqEWZOkLVDteqsD3B33ZjxqV1gm8D8NHENaiDn1XtFFYbnCPCH zdTgGsOjX8JBk/D5b8kXPSKHg3u94ZnhXZIfPxiZtkgnPMS06oQojn1qdfyzSy5cjgGq zGcUU8XgVJnselx8xdis5Asc6NQ+GP2GY8hD/NSOOhwvNP9OrrBw2//Pwtl4P/IZ+9DQ OjY7276utB4JhLXVYRzs/MUs3/ONiA6L2/JLvmSDH4BCP6ypyvaXz+6NJl0deo2iIOsI lEemJa3Hy0c6ieSg8Znd2aPyl/HQ6fgMRHwd9ogtBaTgnXFCTxx6ITwzCUEpMY/zCk6l qQbg== 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 bf1si8645654edb.359.2021.03.26.23.54.50; Fri, 26 Mar 2021 23:55:12 -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 S231488AbhC0Go3 (ORCPT + 99 others); Sat, 27 Mar 2021 02:44:29 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15337 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbhC0GoC (ORCPT ); Sat, 27 Mar 2021 02:44:02 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6q4m2Rqtz93nZ; Sat, 27 Mar 2021 14:41:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 14:43:37 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH 10/15] ACPI: button: fix some coding style issues Date: Sat, 27 Mar 2021 14:40:51 +0800 Message-ID: <1616827256-51840-11-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> References: <1616827256-51840-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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 85e5e03..c66db72 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -157,8 +157,9 @@ 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; @@ -349,8 +350,9 @@ static int acpi_button_remove_fs(struct acpi_device *device) } /* -------------------------------------------------------------------------- - Driver Interface - -------------------------------------------------------------------------- */ + * Driver Interface + * -------------------------------------------------------------------------- + */ int acpi_lid_open(void) { if (!lid_device) -- 2.8.1