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 6/6] clk: Constify second argument of clk_bulk_disable_unprepare()
Date: Mon, 15 Jul 2019 13:12:34 -0700 [thread overview]
Message-ID: <20190715201234.13556-6-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20190715201234.13556-1-andrew.smirnov@gmail.com>
Both clk_bulk_disable() and clk_bulk_unprepare() take const struct
clk_bulk_data, so change clk_bulk_disable_unprepare() 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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 3956ae05b1cf..7a795fd6d141 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -936,7 +936,7 @@ clk_bulk_prepare_enable(int num_clks, const struct clk_bulk_data *clks)
}
static inline void clk_bulk_disable_unprepare(int num_clks,
- struct clk_bulk_data *clks)
+ const struct clk_bulk_data *clks)
{
clk_bulk_disable(num_clks, clks);
clk_bulk_unprepare(num_clks, clks);
--
2.21.0
next prev parent reply other threads:[~2019-07-15 20:13 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 ` [PATCH 3/6] clk: Constify second argument of clk_bulk_prepare_enable() Andrey Smirnov
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 ` Andrey Smirnov [this message]
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-6-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