From: Axel Lin <axel.lin@ingics.com>
To: Mark Brown <broonie@kernel.org>
Cc: Milo Kim <milo.kim@ti.com>, Keerthy <j-keerthy@ti.com>,
Daniel Jeong <gshark.jeong@gmail.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org, Axel Lin <axel.lin@ingics.com>
Subject: [PATCH 4/8] regulator: lp873x: Constify lp873x_buck01_ops and lp873x_ldo01_ops
Date: Sat, 26 Jan 2019 11:39:03 +0800 [thread overview]
Message-ID: <20190126033907.18427-4-axel.lin@ingics.com> (raw)
In-Reply-To: <20190126033907.18427-1-axel.lin@ingics.com>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/lp873x-regulator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/lp873x-regulator.c b/drivers/regulator/lp873x-regulator.c
index 70e3df653381..2ec5e833c379 100644
--- a/drivers/regulator/lp873x-regulator.c
+++ b/drivers/regulator/lp873x-regulator.c
@@ -146,7 +146,7 @@ static int lp873x_buck_get_current_limit(struct regulator_dev *rdev)
}
/* Operations permitted on BUCK0, BUCK1 */
-static struct regulator_ops lp873x_buck01_ops = {
+static const struct regulator_ops lp873x_buck01_ops = {
.is_enabled = regulator_is_enabled_regmap,
.enable = regulator_enable_regmap,
.disable = regulator_disable_regmap,
@@ -161,7 +161,7 @@ static struct regulator_ops lp873x_buck01_ops = {
};
/* Operations permitted on LDO0 and LDO1 */
-static struct regulator_ops lp873x_ldo01_ops = {
+static const struct regulator_ops lp873x_ldo01_ops = {
.is_enabled = regulator_is_enabled_regmap,
.enable = regulator_enable_regmap,
.disable = regulator_disable_regmap,
--
2.17.1
next prev parent reply other threads:[~2019-01-26 3:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-26 3:39 [PATCH 1/8] regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops Axel Lin
2019-01-26 3:39 ` [PATCH 2/8] regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops Axel Lin
2019-01-26 3:39 ` [PATCH 3/8] regulator: lp872x: Constify regulator_ops and regulator_desc Axel Lin
2019-01-26 3:39 ` Axel Lin [this message]
2019-01-26 3:39 ` [PATCH 5/8] regulator: lp8755: Constify lp8755_regulators Axel Lin
2019-01-26 3:39 ` [PATCH 6/8] regulator: lp87565: Constify lp87565_buck_ramp_delay and lp87565_buck_ops Axel Lin
2019-01-26 3:39 ` [PATCH 7/8] regulator: lp8788-buck: Constify lp8788_buck_desc Axel Lin
2019-01-26 3:39 ` [PATCH 8/8] regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc Axel Lin
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=20190126033907.18427-4-axel.lin@ingics.com \
--to=axel.lin@ingics.com \
--cc=broonie@kernel.org \
--cc=gshark.jeong@gmail.com \
--cc=j-keerthy@ti.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=milo.kim@ti.com \
/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).