Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2198482pxf; Sat, 27 Mar 2021 05:12:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweHTkT4cEcwL9636QcJ9323uyRGJdvRRxTr1ytcDzAN8AFzw+SiX8kgJLnpOb+AZflUnXa X-Received: by 2002:a17:906:6d8e:: with SMTP id h14mr20044477ejt.410.1616847143910; Sat, 27 Mar 2021 05:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616847143; cv=none; d=google.com; s=arc-20160816; b=GPtz4uSYVjuXDKfM3+BKCCPk4ZBfGG7PeFcCSqQ/NQxV0Q2033bNFvgGXL5Lh7MXNU Qa21GOiCrvibxo8VMVGtBjf2GVKT7aAqE7uqY5FiJrgYC87MA91fLrMdZrlufPh7tAGx Is0IePSRcTrwC0hH10u7RjZcQxt3yKCf8hIHGP5gGiNrJvW8ut4niKvtmD5lua4bqdEa n7GaQPhCMM9DqLYuGWRMuuuoQ14aEQTNirM0+ns3JI0K11qvaXwYQC/HG25Jpq999tRp 7eMIiHUhNADCbVLCOrM6JlicF/mSMMT0UDx3Gz1CjRswy48/xL0hmXfXqi+OImL4OWH3 CjRw== 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=aSnMEYe/qQLYnOEL1UhWpHbginW8aeTFdN7cKpPiEdI=; b=JjLNYosw7YrQcFRwqfOOV3RouA3FLlSnLu+IsattD2XOzTI+WsHImxF75wAwHhHJU7 4uEBVgbHMoom+cpIOZoi4H3AQSPPfBpdwjcCGy34D0N6NhLAnPoPhk8k0rgjbpGA3499 yQqp9JSww21GZ717f4meG12VucmQDggbf23LjrCJDqEKU27I7jkw+TNKN68sWHL62XUG Q7HqFKq7v5/bVDxLlXV0LXQmgKgj5PT3asDFP0GzrP9YtOlz2WLyOWb+kULBVC6M+6EY J9BcXtHkKrbCuXQypvS33md0w0t89X51OAdjxi61SlWuhoA9AOCxe3P1Hsh2eCtXVIbW FNGg== 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 q2si8537523ejj.541.2021.03.27.05.12.01; Sat, 27 Mar 2021 05:12:23 -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 S230420AbhC0MLX (ORCPT + 99 others); Sat, 27 Mar 2021 08:11:23 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15018 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbhC0MLN (ORCPT ); Sat, 27 Mar 2021 08:11:13 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6yKv1VRbzPt2p; 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:02 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH v3 10/12] ACPI: PM: add a missed blank line after declarations Date: Sat, 27 Mar 2021 20:08:22 +0800 Message-ID: <1616846904-25719-11-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 Add a missed blank line after declarations, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/acpi/device_pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 0961537..16c0fe8 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -966,6 +966,7 @@ EXPORT_SYMBOL_GPL(acpi_dev_resume); int acpi_subsys_runtime_suspend(struct device *dev) { int ret = pm_generic_runtime_suspend(dev); + return ret ? ret : acpi_dev_suspend(dev, true); } EXPORT_SYMBOL_GPL(acpi_subsys_runtime_suspend); @@ -980,6 +981,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_runtime_suspend); int acpi_subsys_runtime_resume(struct device *dev) { int ret = acpi_dev_resume(dev); + return ret ? ret : pm_generic_runtime_resume(dev); } EXPORT_SYMBOL_GPL(acpi_subsys_runtime_resume); @@ -1171,6 +1173,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_freeze); int acpi_subsys_restore_early(struct device *dev) { int ret = acpi_dev_resume(dev); + return ret ? ret : pm_generic_restore_early(dev); } EXPORT_SYMBOL_GPL(acpi_subsys_restore_early); -- 2.8.1