From patchwork Sun Jul 17 05:30:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 9233525 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 7F6A96086B for ; Sun, 17 Jul 2016 05:31:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70D182686A for ; Sun, 17 Jul 2016 05:31:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 649EE269B2; Sun, 17 Jul 2016 05:31:25 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 DA4062686A for ; Sun, 17 Jul 2016 05:31:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751230AbcGQFbB (ORCPT ); Sun, 17 Jul 2016 01:31:01 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:42946 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbcGQFa7 (ORCPT ); Sun, 17 Jul 2016 01:30:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=References:In-Reply-To:Message-Id:Date:Subject: Cc:To:From; bh=89XEDTQ+v/xPg5ItPFPG7jmIJ5aKSgHKdsh4Buxi9rc=; b=Xe4Xat2b7XGmx2 K6hkLokEgk3ibZY5g43ay5EzeYyQErutDa6By18Az5Dkbu/303aHkbz0XsCehaLIa3BBHK+0ql/b7 WHSUTJb0+tOEd5vky5KNU3Za9qheQcoxtTOYhSu4sQ/ZiRyuatjPfFlqp7meFU9yNcy1uwlaTD27y UxMGvCzUo/D8FKML6J66U0rCyGAruMTT55bvloZv3/3HxSujlGBWMjyiHZ90Aim0tmGmoyoLny3JV OYDAW09btDt1UV5cQW4TFKpTPnX+4qK7OxNJnnJB0Xdkw3nbLSFgZR4G4HokmcrJYcS61vIffbE5a oo5KD8OMG/1jnznjAHvg==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:44040 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.86_1) (envelope-from ) id 1bOeew-003NqZ-TW; Sun, 17 Jul 2016 05:30:35 +0000 From: Guenter Roeck To: Jean Delvare Cc: Jonathan Cameron , Zhang Rui , Eduardo Valentin , Punit Agrawal , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck Subject: [PATCH v2 1/9] hwmon: (core) Order include files alphabetically Date: Sat, 16 Jul 2016 22:30:24 -0700 Message-Id: <1468733432-15730-2-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1468733432-15730-1-git-send-email-linux@roeck-us.net> References: <1468733432-15730-1-git-send-email-linux@roeck-us.net> X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: 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 Ordering include files alphabetically makes it easier to add new ones. Stop including linux/spinlock.h and linux/kdev_t.h since both are not needed. Signed-off-by: Guenter Roeck --- v2: Added patch drivers/hwmon/hwmon.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c index a26c385a435b..649a68d119b4 100644 --- a/drivers/hwmon/hwmon.c +++ b/drivers/hwmon/hwmon.c @@ -12,16 +12,14 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include #include #include -#include -#include -#include -#include #include -#include +#include +#include +#include #include +#include #include #define HWMON_ID_PREFIX "hwmon"