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: 9197425 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 9AC396077D for ; Fri, 24 Jun 2016 12:45:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8953E228C9 for ; Fri, 24 Jun 2016 12:45:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B950284B1; Fri, 24 Jun 2016 12:45:12 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DC3B228C9 for ; Fri, 24 Jun 2016 12:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751273AbcFXMoP (ORCPT ); Fri, 24 Jun 2016 08:44:15 -0400 Received: from mga04.intel.com ([192.55.52.120]:47879 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751355AbcFXMoK (ORCPT ); Fri, 24 Jun 2016 08:44:10 -0400 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 24 Jun 2016 05:44:09 -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 Cc: kbuild-all@01.org, Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Rob Herring , Pawel Moll , Mark Brown , Ian Campbell , Kumar Gala , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Ferre , linux-pm@vger.kernel.org, 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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; }