From patchwork Mon Jul 10 06:23:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Reid X-Patchwork-Id: 9832313 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 710CB60363 for ; Mon, 10 Jul 2017 06:30:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6649628419 for ; Mon, 10 Jul 2017 06:30:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58CEC28434; Mon, 10 Jul 2017 06:30:11 +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 D2D0D28419 for ; Mon, 10 Jul 2017 06:30:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751224AbdGJGaJ (ORCPT ); Mon, 10 Jul 2017 02:30:09 -0400 Received: from anchovy2.45ru.net.au ([203.30.46.146]:47473 "EHLO anchovy.45ru.net.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751161AbdGJGaJ (ORCPT ); Mon, 10 Jul 2017 02:30:09 -0400 Received: (qmail 1595 invoked by uid 5089); 10 Jul 2017 06:23:27 -0000 Received: by simscan 1.2.0 ppid: 1562, pid: 1563, t: 0.0298s scanners: regex: 1.2.0 attach: 1.2.0 clamav: 0.88.3/m:40/d:1950 X-RBL: $rbltext Received: from unknown (HELO preid-centos7.electromag.com.au) (preid@electromag.com.au@203.59.230.133) by anchovy3.45ru.net.au with ESMTPA; 10 Jul 2017 06:23:26 -0000 Received: by preid-centos7.electromag.com.au (Postfix, from userid 1000) id 239EF301EBAB5; Mon, 10 Jul 2017 14:23:25 +0800 (AWST) From: Phil Reid To: sre@kernel.org, preid@electromag.com.au, linux-pm@vger.kernel.org, posted@heine.so Subject: [PATCH 2/4] power: supply: sbs-battery: sort includes Date: Mon, 10 Jul 2017 14:23:18 +0800 Message-Id: <1499667800-69055-3-git-send-email-preid@electromag.com.au> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1499667800-69055-1-git-send-email-preid@electromag.com.au> References: <1499667800-69055-1-git-send-email-preid@electromag.com.au> 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 Sort the header includes prior to adding to the list. Signed-off-by: Phil Reid --- drivers/power/supply/sbs-battery.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/power/supply/sbs-battery.c b/drivers/power/supply/sbs-battery.c index 15873df..4594ed1 100644 --- a/drivers/power/supply/sbs-battery.c +++ b/drivers/power/supply/sbs-battery.c @@ -14,19 +14,18 @@ * more details. */ -#include -#include -#include #include -#include +#include #include -#include +#include #include -#include +#include +#include #include -#include - #include +#include +#include +#include enum { REG_MANUFACTURER_DATA, @@ -57,7 +56,7 @@ enum { #define BATTERY_MODE_MASK 0x8000 enum sbs_battery_mode { BATTERY_MODE_AMPS = 0, - BATTERY_MODE_WATTS = 0x800 + BATTERY_MODE_WATTS = 0x8000 }; /* manufacturer access defines */