projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c598319
)
rtc: ds1307: Sort the headers
author
Nishanth Menon
<
[email protected]
>
Tue, 23 Jun 2015 16:15:12 +0000
(11:15 -0500)
committer
Alexandre Belloni
<
[email protected]
>
Sat, 5 Sep 2015 11:19:05 +0000
(13:19 +0200)
It is always a good practice to keep the #includes sorted
Signed-off-by: Nishanth Menon <
[email protected]
>
Acked-by: Felipe Balbi <
[email protected]
>
Reviewed-by: Grygorii Strashko <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-ds1307.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ds1307.c
b/drivers/rtc/rtc-ds1307.c
index 0a98d8a5279150e4549fff3b9c8763d2fd7120fb..b03880fc32b56aa165a54876c44ee1fde1855b41 100644
(file)
--- a/
drivers/rtc/rtc-ds1307.c
+++ b/
drivers/rtc/rtc-ds1307.c
@@
-11,14
+11,14
@@
* published by the Free Software Foundation.
*/
-#include <linux/module.h>
+#include <linux/bcd.h>
+#include <linux/i2c.h>
#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/rtc/ds1307.h>
+#include <linux/rtc.h>
#include <linux/slab.h>
-#include <linux/i2c.h>
#include <linux/string.h>
-#include <linux/rtc.h>
-#include <linux/bcd.h>
-#include <linux/rtc/ds1307.h>
/*
* We can't determine type by probing, but if we expect pre-Linux code