Bin Shi
4c1ad70921
clocksource: prima2: fix some minor checkpatch issues
...
Fix the "line over 80 characters". users of the codes - key customers
really care about that.
WARNING: line over 80 characters
64: FILE: timer-prima2.c:64:
+ WARN_ON(!(readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_STATUS) & BIT(0)));
WARNING: line over 80 characters
80: FILE: timer-prima2.c:80:
+ writel_relaxed(SIRFSOC_TIMER_LATCH_BIT, sirfsoc_timer_base + SIRFSOC_TIMER_LATCH);
WARNING: line over 80 characters
82: FILE: timer-prima2.c:82:
+ cycles = (cycles << 32) | readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO);
WARNING: line over 80 characters
92: FILE: timer-prima2.c:92:
+ writel_relaxed(SIRFSOC_TIMER_LATCH_BIT, sirfsoc_timer_base + SIRFSOC_TIMER_LATCH);
WARNING: line over 80 characters
96: FILE: timer-prima2.c:96:
+ writel_relaxed(SIRFSOC_TIMER_LATCH_BIT, sirfsoc_timer_base + SIRFSOC_TIMER_LATCH);
WARNING: line over 80 characters
111: FILE: timer-prima2.c:111:
+ writel_relaxed(val | BIT(0), sirfsoc_timer_base + SIRFSOC_TIMER_INT_EN);
WARNING: line over 80 characters
114: FILE: timer-prima2.c:114:
+ writel_relaxed(val & ~BIT(0), sirfsoc_timer_base + SIRFSOC_TIMER_INT_EN);
WARNING: line over 80 characters
126: FILE: timer-prima2.c:126:
+ writel_relaxed(SIRFSOC_TIMER_LATCH_BIT, sirfsoc_timer_base + SIRFSOC_TIMER_LATCH);
WARNING: line over 80 characters
129: FILE: timer-prima2.c:129:
+ sirfsoc_timer_reg_val[i] = readl_relaxed(sirfsoc_timer_base + sirfsoc_timer_reg_list[i]);
WARNING: line over 80 characters
137: FILE: timer-prima2.c:137:
+ writel_relaxed(sirfsoc_timer_reg_val[i], sirfsoc_timer_base + sirfsoc_timer_reg_list[i]);
WARNING: line over 80 characters
139: FILE: timer-prima2.c:139:
+ writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 2], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_LO);
WARNING: line over 80 characters
140: FILE: timer-prima2.c:140:
+ writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 1], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_HI);
WARNING: line over 80 characters
216: FILE: timer-prima2.c:216:
+CLOCKSOURCE_OF_DECLARE(sirfsoc_prima2_timer, "sirf,prima2-tick", sirfsoc_prima2_timer_init);
total: 0 errors, 13 warnings, 216 lines checked
timer-prima2.c has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Signed-off-by: Bin Shi <Bin.Shi@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
2014-05-12 21:43:49 +08:00
..
2013-08-27 10:49:38 +02:00
2014-03-11 23:04:39 +01:00
2013-12-11 11:40:23 +01:00
2013-07-30 11:24:51 -07:00
2014-02-06 16:01:40 +01:00
2014-03-11 23:10:03 +01:00
2013-07-30 11:24:52 -07:00
2014-01-14 14:33:29 +01:00
2013-12-11 11:40:27 +01:00
2014-03-20 13:43:45 +01:00
2013-12-10 19:49:18 +01:00
2013-12-11 11:40:27 +01:00
2013-10-22 22:36:24 +02:00
2014-04-17 23:36:28 +02:00
2012-11-13 14:08:23 -05:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2013-07-14 19:36:57 -04:00
2011-05-23 18:04:51 +01:00
2013-08-01 01:13:34 +02:00
2013-07-30 11:24:52 -07:00
2014-01-23 18:45:38 -08:00
2014-02-06 16:20:41 -06:00
2013-12-11 11:40:27 +01:00
2012-02-22 13:25:16 +01:00
2013-12-18 15:14:36 +01:00
2014-01-14 14:33:29 +01:00
2014-01-14 14:33:29 +01:00
2014-03-11 23:04:46 +01:00
2013-10-03 16:28:40 +02:00
2013-12-11 11:40:28 +01:00
2014-03-11 23:05:05 +01:00
2013-10-22 22:36:33 +02:00
2014-03-11 23:05:02 +01:00
2014-03-11 23:05:00 +01:00
2013-12-20 11:41:34 +01:00
2014-05-12 21:43:49 +08:00
2014-01-19 13:23:23 +01:00
2014-04-05 13:20:43 -07:00
2014-03-06 11:34:14 +01:00
2013-12-11 11:40:28 +01:00
2013-06-06 17:23:13 +02:00