src/lib: Use tabs instead of spaces
Fix the following errors and warnings detected by checkpatch.pl: ERROR: code indent should use tabs where possible ERROR: switch and case should be at the same indent WARNING: Statements should start on a tabstop WARNING: please, no spaces at the start of a line WARNING: please, no space before tabs WARNING: suspect code indent for conditional statements WARNING: labels should not be indented TEST=Build and run on Galileo Gen2 Change-Id: Iebcff26ad41ab6eb0027b871a1c06f3b52dd207c Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18732 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@ -41,14 +41,14 @@
|
||||
#endif
|
||||
|
||||
static inline void reg_script_set_dev(struct reg_script_context *ctx,
|
||||
device_t dev)
|
||||
device_t dev)
|
||||
{
|
||||
ctx->dev = dev;
|
||||
ctx->res = NULL;
|
||||
}
|
||||
|
||||
static inline void reg_script_set_step(struct reg_script_context *ctx,
|
||||
const struct reg_script *step)
|
||||
const struct reg_script *step)
|
||||
{
|
||||
ctx->step = step;
|
||||
}
|
||||
@ -603,7 +603,7 @@ static void reg_script_rxw(struct reg_script_context *ctx)
|
||||
* as the previous one. That will run to completion and then move on to the
|
||||
* next step of the previous context. */
|
||||
static void reg_script_run_next(struct reg_script_context *ctx,
|
||||
const struct reg_script *step);
|
||||
const struct reg_script *step);
|
||||
|
||||
|
||||
static void reg_script_run_step(struct reg_script_context *ctx,
|
||||
@ -670,7 +670,7 @@ static void reg_script_run_with_context(struct reg_script_context *ctx)
|
||||
}
|
||||
|
||||
static void reg_script_run_next(struct reg_script_context *prev_ctx,
|
||||
const struct reg_script *step)
|
||||
const struct reg_script *step)
|
||||
{
|
||||
struct reg_script_context ctx;
|
||||
|
||||
|
Reference in New Issue
Block a user