Skip to content

Commit

Permalink
clk: renesas: mstp: Reformat cpg_mstp_clock_register() for git diff
Browse files Browse the repository at this point in the history
As the function header of cpg_mstp_clock_register() is split in an
unusual way, "git diff" gets confused when changes to the body of
the function are made, and attributes them to the wrong function.

Reformat the function header to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Geert Uytterhoeven committed Jan 27, 2017
1 parent e34084f commit 1ce87dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/clk/renesas/clk-mstp.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ static const struct clk_ops cpg_mstp_clock_ops = {
.is_enabled = cpg_mstp_clock_is_enabled,
};

static struct clk * __init
cpg_mstp_clock_register(const char *name, const char *parent_name,
unsigned int index, struct mstp_clock_group *group)
static struct clk * __init cpg_mstp_clock_register(const char *name,
const char *parent_name, unsigned int index,
struct mstp_clock_group *group)
{
struct clk_init_data init;
struct mstp_clock *clock;
Expand Down

0 comments on commit 1ce87dd

Please sign in to comment.