Re: [PATCH] gpio:clk: preparation for switch to common clock framework

From: Linus Walleij
Date: Fri Aug 31 2012 - 19:14:16 EST


On Thu, Aug 30, 2012 at 8:03 PM, Murali Karicheri <m-karicheri2@xxxxxx> wrote:

> As a first step towards migrating davinci platforms to use common clock
> framework, replace all instances of clk_enable() with clk_prepare_enable()
> and clk_disable() with clk_disable_unprepare(). Until the platform is
> switched to use the CONFIG_HAVE_CLK_PREPARE Kconfig variable, this just
> adds a might_sleep() call and would work without any issues.
>
> This will make it easy later to switch to common clk based implementation
> of clk driver from DaVinci specific driver.
>
> Signed-off-by: Murali Karicheri <m-karicheri2@xxxxxx>

OK the patch is so obviously correct so I just applied it, DaVinci folks,
scream if you still don't want it for some reason...

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/