linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: linux-clk@vger.kernel.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Chris Healy <cphealy@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 3/6] clk: Constify second argument of clk_bulk_prepare_enable()
Date: Mon, 15 Jul 2019 13:12:31 -0700	[thread overview]
Message-ID: <20190715201234.13556-3-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20190715201234.13556-1-andrew.smirnov@gmail.com>

Both clk_bulk_prepare() and clk_bulk_enable() take const struct
clk_bulk_data, so change clk_bulk_prepare_enable() to do so as
well. No functional change intended.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-clk@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 include/linux/clk.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index 8af6b943bb9a..fafa63ea06b9 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -919,8 +919,8 @@ static inline void clk_disable_unprepare(struct clk *clk)
 	clk_unprepare(clk);
 }
 
-static inline int __must_check clk_bulk_prepare_enable(int num_clks,
-					struct clk_bulk_data *clks)
+static inline int __must_check
+clk_bulk_prepare_enable(int num_clks, const struct clk_bulk_data *clks)
 {
 	int ret;
 
-- 
2.21.0


  parent reply	other threads:[~2019-07-15 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 20:12 [PATCH 1/6] clk: Sync prototypes for clk_bulk_enable() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 2/6] clk: Sync prototypes for clk_bulk_prepare() Andrey Smirnov
2019-07-15 20:12 ` Andrey Smirnov [this message]
2019-07-15 20:12 ` [PATCH 4/6] clk: Sync prototypes for clk_bulk_disable() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 5/6] clk: Sync prototypes for clk_bulk_unprepare() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 6/6] clk: Constify second argument of clk_bulk_disable_unprepare() Andrey Smirnov
2019-07-15 22:00 ` [PATCH 1/6] clk: Sync prototypes for clk_bulk_enable() Stephen Boyd
2019-07-17 14:53   ` Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190715201234.13556-3-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=cphealy@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).