Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2199101pxf; Sat, 27 Mar 2021 05:13:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb2rwVbeUAZf17VWDr1R10CVDl61hPNThcBBs2HKoAr5KoKSQuxd8NfnmDxFt2cY3e4Ws/ X-Received: by 2002:a05:6402:42c9:: with SMTP id i9mr20256715edc.35.1616847201444; Sat, 27 Mar 2021 05:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616847201; cv=none; d=google.com; s=arc-20160816; b=chx1bAvmXR8VkirIosQ7T9TP6hVYirOmeRqGnJXI61Or35uL09KT5h0Bv2Y846p6Wz g3tCuGPDyeQRxQ6ahuHcaT4JkGu38ezHcq9iyaklxZFetpYiyZJGfSJ+TBwNlAiWVbx3 H6i5IapWn1xsvkvA2q8wmUj8Vak6Bu2+6f1pEK5AfTls95ILxcYoreZtcqvaWY3uLUmu GIHreubDr3ERIiiBflmK5tCFMk/Gz43BZasw7a+rr7zr15098ZnYDHOKuf59eAtea4wa JeSIh2zS7er4nUmhz0PQDNoE67Sz8ZoEUwRUUFHJ37gu+NIGCbqupGYDVKF81kwX9unk SGtA== 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=9wbc2ELqSjPFhNvVNUfvbw0gSnvgU460s4jbzutOMxU=; b=U+ExBhhrbiOfuDauKTv/bnJMPkmh2GB3V5zLC9NWbDSUxHaL7HS9l5iPGG1kifl6t1 5n8rvQU+etn4DuB/MsX17mAHVw9ck9WQJUL2tN8K9Kl2oXpM8DK7iUZb+bMDQQZzrd7U biei4tkaD23/dRldfqh36UYYDX9kLKIxb5lKeFlsFMflL3XzwkkSoObdJZ0JnER3hNIp 5XLseJBT9M4TdfxgcbMO+kKqH07TVQ9WitIR6Qf4pBpQgOgf1qKAZ0KzcmvV7onSoFyp 4ZwGW6N8gV9n1HJJ+Y27kiRdWyzV5+WzJjyFLph6jlGIBOosd+BLdpuSCWpEosF4DbTa 9OAA== 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 rl1si8646521ejb.115.2021.03.27.05.12.59; Sat, 27 Mar 2021 05:13:21 -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 S231159AbhC0MLn (ORCPT + 99 others); Sat, 27 Mar 2021 08:11:43 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15016 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbhC0MLY (ORCPT ); Sat, 27 Mar 2021 08:11:24 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6yKt6QgSzPrSW; Sat, 27 Mar 2021 20:08:34 +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:00 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH v3 04/12] ACPI: LPSS: add a missed blank line after declarations Date: Sat, 27 Mar 2021 20:08:16 +0800 Message-ID: <1616846904-25719-5-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/acpi_lpss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c index be73974..ca742f1 100644 --- a/drivers/acpi/acpi_lpss.c +++ b/drivers/acpi/acpi_lpss.c @@ -377,6 +377,7 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = { static int is_memory(struct acpi_resource *res, void *not_used) { struct resource r; + return !acpi_dev_resource_memory(res, &r); } @@ -1200,6 +1201,7 @@ static int acpi_lpss_poweroff_noirq(struct device *dev) if (pdata->dev_desc->resume_from_noirq) { /* This is analogous to the acpi_lpss_suspend_noirq() case. */ int ret = acpi_lpss_do_poweroff_late(dev); + if (ret) return ret; } -- 2.8.1