kernel: Checkpatch fixups
I was pretty careful, but these snuck in. Most of them are due to overbroad string replacements in comments. The pull request is very large, and I'm too lazy to find exactly where to back-merge all of these. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
af7bf89ed2
commit
cfe62038d2
10 changed files with 43 additions and 31 deletions
|
@ -89,9 +89,9 @@ static inline int sys_clock_hw_cycles_per_tick(void)
|
|||
*/
|
||||
|
||||
#if !defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME)
|
||||
#if (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC) != 0
|
||||
#if (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC) != 0
|
||||
#define _NEED_PRECISE_TICK_MS_CONVERSION
|
||||
#elif (MSEC_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC) != 0
|
||||
#elif (MSEC_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC) != 0
|
||||
#define _NON_OPTIMIZED_TICKS_PER_SEC
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue