Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6500796ybl; Wed, 15 Jan 2020 05:47:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxdSOJxng3BGEARktvLBS8YbmHEZUyasmnGcmDiY8YvW1pjlvLZ8qyAXgknKcU511n4OONv X-Received: by 2002:a05:6830:2111:: with SMTP id i17mr2634134otc.24.1579096031102; Wed, 15 Jan 2020 05:47:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579096031; cv=none; d=google.com; s=arc-20160816; b=Kb2gMKWtXdkncppTXzndSkpjztwDf2+6weJpUlJDwRI/W/z4suXxnfOppkk2ewSkJd WKai0EgZNhVLBZmeVvHWl0yYggh28hzbc5G+dp1MmPppFvztJm17wqHykmXdcaMDhInu beNApIXDgCOTePcLUnSjkOli/RrVu+L5sTG3FqUJt1ZTWIFB5q3w0Ni3jT8YRqVRbDEX C1zQEvskhOlZJ9y/XUoxRBdLnKYadwQVPRZL+ZIwbqJ7azr5gQHhcVNmF1fx1oeRE8Qr VKTmDubMPTBSMd+5yGoHRjkJm/yevllvf9Ib6zV/jADLuCy+DCQFGR8bVnOIBC3ktyOo eyHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tubBP78GwkiJt8XnYzAWReQ6mX1l4y6W9CeX4Ao2A4k=; b=tSCLvnRkonwEXKAiTFmVaJndOpeFbc88EjJxdL8xcWoynutJ9TfWCocpqUJef7NhJp lhCUZVUma6Y8//D407BRyNZHkJpzAzCqwwbflsnnvC/x9ZW7Z5uWwB9wHL+f3SGJsCmj 2skDtzoabvR+Z1HecjtI3eaZl9WXCo8kavtU3yk6x36r+t/ZzFJe1lyfD2CrD6XyHhQV Y2CukCqDilTLy4fdoRwwWUOLxFvBskIM4VmE/8GYUdjf3e2nAKHsB0sGbY8v9517z1Ip uh/4xzTfG8ex/u/JRabDnqvJNnK5BVvHrC1mYSrtnbwojOR7nFKOsmr1388ASrD1dmPX xq2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n13si1053881otf.161.2020.01.15.05.46.59; Wed, 15 Jan 2020 05:47:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728909AbgAONoy (ORCPT + 99 others); Wed, 15 Jan 2020 08:44:54 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9621 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726071AbgAONoy (ORCPT ); Wed, 15 Jan 2020 08:44:54 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 29DD0B034D19079293BE; Wed, 15 Jan 2020 21:44:51 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 15 Jan 2020 21:44:44 +0800 From: Chen Zhou To: CC: , , Subject: [PATCH] power: remove unneeded semicolon Date: Wed, 15 Jan 2020 21:40:10 +0800 Message-ID: <20200115134010.60385-1-chenzhou10@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck warning: ./drivers/power/supply/ipaq_micro_battery.c:188:2-3: Unneeded semicolon ./drivers/power/supply/ipaq_micro_battery.c:152:3-4: Unneeded semicolon ./drivers/power/supply/ipaq_micro_battery.c:171:2-3: Unneeded semicolon Signed-off-by: Chen Zhou --- drivers/power/supply/ipaq_micro_battery.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/supply/ipaq_micro_battery.c b/drivers/power/supply/ipaq_micro_battery.c index 03592ce..192d9db 100644 --- a/drivers/power/supply/ipaq_micro_battery.c +++ b/drivers/power/supply/ipaq_micro_battery.c @@ -149,7 +149,7 @@ static int micro_batt_get_property(struct power_supply *b, default: val->intval = POWER_SUPPLY_TECHNOLOGY_UNKNOWN; break; - }; + } break; case POWER_SUPPLY_PROP_STATUS: val->intval = get_status(b); @@ -168,7 +168,7 @@ static int micro_batt_get_property(struct power_supply *b, break; default: return -EINVAL; - }; + } return 0; } @@ -185,7 +185,7 @@ static int micro_ac_get_property(struct power_supply *b, break; default: return -EINVAL; - }; + } return 0; } -- 2.7.4