[PATCH 2/2] clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw)

Geert Uytterhoeven geert at linux-m68k.org
Thu Aug 13 01:41:09 PDT 2015


On Thu, Aug 13, 2015 at 1:12 AM, Stephen Boyd <sboyd at codeaurora.org> wrote:
> Use the provider based method to get a clock's name so that we
> can get rid of the clk member in struct clk_hw one day. Mostly
> converted with the following coccinelle script.
>
> @@
> struct clk_hw *E;
> @@
>
> -__clk_get_name(E->clk)
> +clk_hw_get_name(E)
>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Sylwester Nawrocki <s.nawrocki at samsung.com>
> Cc: Tomasz Figa <tomasz.figa at gmail.com>
> Cc: Peter De Schrijver <pdeschrijver at nvidia.com>
> Cc: Prashant Gaikwad <pgaikwad at nvidia.com>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Alexandre Courbot <gnurou at gmail.com>
> Cc: Tero Kristo <t-kristo at ti.com>
> Cc: Ulf Hansson <ulf.hansson at linaro.org>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Cc: Andrew Bresticker <abrestic at chromium.org>
> Cc: Ezequiel Garcia <ezequiel.garcia at imgtec.com>
> Cc: Ralf Baechle <ralf at linux-mips.org>
> Cc: Kevin Cernekee <cernekee at chromium.org>
> Cc: Geert Uytterhoeven <geert+renesas at glider.be>
> Cc: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-rockchip at lists.infradead.org
> Cc: linux-samsung-soc at vger.kernel.org
> Cc: linux-tegra at vger.kernel.org
> Cc: linux-omap at vger.kernel.org
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>

>  drivers/clk/shmobile/clk-div6.c      |  2 +-

For the shmobile part:

Acked-by: Geert Uytterhoeven <geert+renesas at glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-arm-kernel mailing list