From patchwork Fri Jun 24 12:43:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9197427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5B3146077D for ; Fri, 24 Jun 2016 12:46:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45FA420265 for ; Fri, 24 Jun 2016 12:46:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37FD2284B0; Fri, 24 Jun 2016 12:46:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1751D20265 for ; Fri, 24 Jun 2016 12:46:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bGQTK-0002kH-UK; Fri, 24 Jun 2016 12:44:34 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bGQTG-0002LG-AZ for linux-arm-kernel@lists.infradead.org; Fri, 24 Jun 2016 12:44:30 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 24 Jun 2016 05:44:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,520,1459839600"; d="scan'208";a="724451877" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jun 2016 05:44:08 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1bGQSk-000EMb-RI; Fri, 24 Jun 2016 20:43:58 +0800 Date: Fri, 24 Jun 2016 20:43:05 +0800 From: kbuild test robot To: Wenyou Yang Subject: [PATCH] power: act8945a_charger: fix semicolon.cocci warnings Message-ID: <20160624124305.GA11000@ivytown2> References: <201606242015.gipMOaF7%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1466752660-2922-3-git-send-email-wenyou.yang@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160624_054430_402480_A2EC6FEE X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , Dmitry Eremin-Solenikov , Mark Brown , linux-pm@vger.kernel.org, Nicolas Ferre , Sebastian Reichel , linux-kernel@vger.kernel.org, Rob Herring , kbuild-all@01.org, Kumar Gala , Wenyou Yang , David Woodhouse , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/power/act8945a_charger.c:115:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Wenyou Yang Signed-off-by: Fengguang Wu --- act8945a_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/power/act8945a_charger.c +++ b/drivers/power/act8945a_charger.c @@ -112,7 +112,7 @@ static int act8945a_get_charger_state(st else *val = POWER_SUPPLY_STATUS_NOT_CHARGING; break; - }; + } return 0; }