cpu/intel: Fix the remaining issues detected by checkpatch
Fix the following error and warnings detected by checkpatch.pl: ERROR: switch and case should be at the same indent WARNING: Consecutive strings are generally better as a single string WARNING: static const char * array should probably be static const char * const TEST=Build and run on Galileo Gen2 Change-Id: I03d5d0d2db0d5e9b33c8ec807b236fe229bcc8f3 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18851 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
cdc50480c4
commit
4dddda294f
|
@ -84,8 +84,8 @@ static void gen_pstate_entries(const sst_table_t *const pstates,
|
|||
/ (pstates->states[pstates->num_states - 1].is_slfm ? 12 : 6),
|
||||
(max_ratio2 * fsb3) / 6);
|
||||
|
||||
printk(BIOS_DEBUG, "adding %x P-States between "
|
||||
"busratio %x and %x, ""incl. P0\n",
|
||||
printk(BIOS_DEBUG,
|
||||
"adding %x P-States between busratio %x and %x, incl. P0\n",
|
||||
pstates->num_states, min_ratio2 / 2, max_ratio2 / 2);
|
||||
acpigen_write_package(pstates->num_states);
|
||||
for (i = 0; i < pstates->num_states; ++i) {
|
||||
|
|
|
@ -42,7 +42,7 @@ static inline void set_global_turbo_state(int state)
|
|||
}
|
||||
#endif
|
||||
|
||||
static const char *turbo_state_desc[] = {
|
||||
static const char * const turbo_state_desc[] = {
|
||||
[TURBO_UNKNOWN] = "unknown",
|
||||
[TURBO_UNAVAILABLE] = "unavailable",
|
||||
[TURBO_DISABLED] = "available but hidden",
|
||||
|
|
Loading…
Reference in New Issue