Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445690

Re: [PATCH] i2c: mv64xxx: Use clk_enable_prepare and clk_disable_unprepare

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: mv64xxx: Use clk_enable_prepare and clk_disable_unprepare
Date 2016-07-18 20:30 +0200
Message-ID <rWlsJ-1k5-3@gated-at.bofh.it> (permalink)
References <rOG1j-1yK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jun 27, 2016 at 08:17:22PM +0530, Amitoj Kaur Chawla wrote:
> Replace clk_enable and clk_prepare with clk_enable_prepare and
> clk_disable and clk_unprepare with clk_disable_unprepare.
> 
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> expression e;
> @@
> 
> - clk_prepare(e);
> - clk_enable(e);
> + clk_prepare_enable(e);
> 
> @@
> expression e;
> @@
> 
> - clk_disable(e);
> - clk_unprepare(e);
> + clk_disable_unprepare(e);
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>

I can't apply this one. Can you rebase to my i2c/for-next or v4.7-rc1?

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] i2c: mv64xxx: Use clk_enable_prepare and  clk_disable_unprepare Wolfram Sang <wsa@the-dreams.de> - 2016-07-18 20:30 +0200

csiph-web