* [PATCH] clk: renesas: mstp: Reformat cpg_mstp_clock_register() for git diff
@ 2017-01-23 10:06 Geert Uytterhoeven
2017-01-27 0:15 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2017-01-23 10:06 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-renesas-soc, linux-clk, Geert Uytterhoeven
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>
---
To be queued in clk-renesas-for-v4.11.
---
drivers/clk/renesas/clk-mstp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/renesas/clk-mstp.c b/drivers/clk/renesas/clk-mstp.c
index c0319b8acf3521a2..93506251f7edcd13 100644
--- a/drivers/clk/renesas/clk-mstp.c
+++ b/drivers/clk/renesas/clk-mstp.c
@@ -127,9 +127,9 @@ static int cpg_mstp_clock_is_enabled(struct clk_hw *hw)
.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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: renesas: mstp: Reformat cpg_mstp_clock_register() for git diff
2017-01-23 10:06 [PATCH] clk: renesas: mstp: Reformat cpg_mstp_clock_register() for git diff Geert Uytterhoeven
@ 2017-01-27 0:15 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2017-01-27 0:15 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Michael Turquette, linux-renesas-soc, linux-clk
On 01/23, Geert Uytterhoeven wrote:
> 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>
> ---
I'm not sure it's really necessary, but ok.
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-27 0:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 10:06 [PATCH] clk: renesas: mstp: Reformat cpg_mstp_clock_register() for git diff Geert Uytterhoeven
2017-01-27 0:15 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.