Linux RTC
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH 1/2] rtc: tegra: Sort includes alphabetically
@ 2017-01-12 16:07 Thierry Reding
  2017-01-12 16:07 ` [rtc-linux] [PATCH 2/2] rtc: tegra: Implement clock handling Thierry Reding
  2017-01-13 16:55 ` [rtc-linux] Re: [PATCH 1/2] rtc: tegra: Sort includes alphabetically Alexandre Belloni
  0 siblings, 2 replies; 4+ messages in thread
From: Thierry Reding @ 2017-01-12 16:07 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni
  Cc: Laxman Dewangan, Martin Michlmayr, rtc-linux, linux-tegra,
	linux-kernel

From: Thierry Reding <treding@nvidia.com>

The ordering of includes is currently completely arbitrary, making it
impossible to decide where to put new includes. Remove the dilemma by
sort the include list alphabetically.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/rtc/rtc-tegra.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c
index 3853ba963bb5..38e662ff1a70 100644
--- a/drivers/rtc/rtc-tegra.c
+++ b/drivers/rtc/rtc-tegra.c
@@ -17,16 +17,17 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
-#include <linux/kernel.h>
+
+#include <linux/delay.h>
 #include <linux/init.h>
-#include <linux/module.h>
-#include <linux/slab.h>
-#include <linux/irq.h>
 #include <linux/io.h>
-#include <linux/delay.h>
-#include <linux/rtc.h>
+#include <linux/irq.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
+#include <linux/rtc.h>
+#include <linux/slab.h>
 
 /* set to 1 = busy every eight 32kHz clocks during copy of sec+msec to AHB */
 #define TEGRA_RTC_REG_BUSY			0x004
-- 
2.11.0

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-19 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 16:07 [rtc-linux] [PATCH 1/2] rtc: tegra: Sort includes alphabetically Thierry Reding
2017-01-12 16:07 ` [rtc-linux] [PATCH 2/2] rtc: tegra: Implement clock handling Thierry Reding
2017-01-19 12:23   ` [rtc-linux] " Peter De Schrijver
2017-01-13 16:55 ` [rtc-linux] Re: [PATCH 1/2] rtc: tegra: Sort includes alphabetically Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox