From patchwork Mon Jul 25 03:32: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: 9245141 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 C0CE5607FD for ; Mon, 25 Jul 2016 03:33:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A721C26490 for ; Mon, 25 Jul 2016 03:33:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98A64209CD; Mon, 25 Jul 2016 03:33:14 +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 38369209CD for ; Mon, 25 Jul 2016 03:33:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbcGYDcx (ORCPT ); Sun, 24 Jul 2016 23:32:53 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:54093 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585AbcGYDcw (ORCPT ); Sun, 24 Jul 2016 23:32:52 -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=lQ6qPYJEh92I5VpX43uc0LlfQVzxKucTYkHmsXwzUwg=; b=wLV9ZkF4uYLarz mJD2kbRJ8E/JVUI4qACSRs1G9TVSW6larF2AgCK5YT6i3lWRKPD1XykQGfFXo1ByrSioBuRhWKFy+ KlWekD+qC1udQzdrUXzReFs49R7BAZm7/lDCZdWRvPpN+gC+hDdfguO/1SBN+jMBwDfI/VJbQwUNP N4++z/tDV4OfQJ5W3H2liNnQk9DO2ZcQPLc6UmdvjoWkptSJvKfwrIjzHZmWAOnPqU2xxg02Y2xw7 UCq/mUb5j5rCtdgxeoty5e1DMMSeB3F/z6cVSSvJ3bNWO+jiACXrS10UPYah4CQzGtsBGrKYmishm jWVHMz9Ip1+2lcUpkQ4A==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:49276 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.86_1) (envelope-from ) id 1bRWdE-002FrS-4o; Mon, 25 Jul 2016 03:32:40 +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 v3 1/9] hwmon: (core) Order include files alphabetically Date: Sun, 24 Jul 2016 20:32:24 -0700 Message-Id: <1469417552-9749-2-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1469417552-9749-1-git-send-email-linux@roeck-us.net> References: <1469417552-9749-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-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@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. Reviewed-by: Jonathan Cameron Signed-off-by: Guenter Roeck Reviewed-by: Jean Delvare --- v3: No change 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"