From: Priit Laes <plaes@plaes.org> To: Lee Jones <lee.jones@linaro.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@bootlin.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Olliver Schinagl <oliver@schinagl.nl>, linux-sunxi <linux-sunxi@googlegroups.com> Cc: Priit Laes <plaes@plaes.org> Subject: [PATCH 8/8] mfd: axp20x: use explicit bit defines Date: Mon, 10 Dec 2018 20:42:19 +0200 [thread overview] Message-ID: <2098c0aece09761bf975e72eaa75cba92a4e463d.1544466940.git-series.plaes@plaes.org> (raw) In-Reply-To: <cover.4110554ae84987dedb8b58888a8a63d6b7f98c72.1544466940.git-series.plaes@plaes.org> From: Olliver Schinagl <oliver@schinagl.nl> The AXP20X_OFF define is an actual specific bit, define it as such. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Priit Laes <plaes@plaes.org> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index c3f3dbd..d183ed8 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -30,7 +30,7 @@ #include <linux/regmap.h> #include <linux/regulator/consumer.h> -#define AXP20X_OFF 0x80 +#define AXP20X_OFF BIT(7) #define AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE 0 #define AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE BIT(4) -- git-series 0.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Priit Laes <plaes@plaes.org> To: Lee Jones <lee.jones@linaro.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@bootlin.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Olliver Schinagl <oliver@schinagl.nl>, linux-sunxi <linux-sunxi@googlegroups.com> Cc: Priit Laes <plaes@plaes.org> Subject: [PATCH 8/8] mfd: axp20x: use explicit bit defines Date: Mon, 10 Dec 2018 20:42:19 +0200 [thread overview] Message-ID: <2098c0aece09761bf975e72eaa75cba92a4e463d.1544466940.git-series.plaes@plaes.org> (raw) In-Reply-To: <cover.4110554ae84987dedb8b58888a8a63d6b7f98c72.1544466940.git-series.plaes@plaes.org> From: Olliver Schinagl <oliver@schinagl.nl> The AXP20X_OFF define is an actual specific bit, define it as such. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Priit Laes <plaes@plaes.org> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index c3f3dbd..d183ed8 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -30,7 +30,7 @@ #include <linux/regmap.h> #include <linux/regulator/consumer.h> -#define AXP20X_OFF 0x80 +#define AXP20X_OFF BIT(7) #define AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE 0 #define AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE BIT(4) -- git-series 0.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2018-12-10 18:42 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-10 18:42 [PATCH 0/8] This is a second edition of a series that implements voltage Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` [PATCH 1/8] mfd: axp20x: name voltage ramping define properly Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-13 11:55 ` Mark Brown 2018-12-13 11:55 ` Mark Brown 2018-12-13 11:55 ` Mark Brown 2018-12-13 13:28 ` Lee Jones 2018-12-13 13:28 ` Lee Jones 2018-12-13 13:28 ` Lee Jones 2018-12-13 14:46 ` Mark Brown 2018-12-13 14:46 ` Mark Brown 2018-12-13 14:46 ` Mark Brown 2018-12-10 18:42 ` [PATCH 2/8] regulator: axp20x: add support for set_ramp_delay for AXP209 Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-11 13:14 ` [linux-sunxi] " Julian Calaby 2018-12-11 13:14 ` Julian Calaby 2018-12-11 13:14 ` Julian Calaby 2018-12-12 11:02 ` [linux-sunxi] " Priit Laes 2018-12-12 11:02 ` Priit Laes 2018-12-10 18:42 ` [PATCH 3/8] dt-bindings: mfd: axp20x: add support for regulator-ramp-delay " Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` [PATCH 4/8] regulator: axp20x: add software based soft_start for AXP209 LDO3 Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` [PATCH 5/8] dt-bindings: mfd: axp20x: Add " Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` [PATCH 6/8] regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2 Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` [PATCH 7/8] mfd: axp20x: Clean up included headers Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes 2018-12-10 18:42 ` Priit Laes [this message] 2018-12-10 18:42 ` [PATCH 8/8] mfd: axp20x: use explicit bit defines Priit Laes 2018-12-11 7:11 ` [linux-sunxi] [PATCH 0/8] This is a second edition of a series that implements voltage Priit Laes 2018-12-11 7:11 ` Priit Laes 2018-12-11 7:46 ` Lee Jones 2018-12-11 7:46 ` Lee Jones 2018-12-11 7:46 ` Lee Jones
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=2098c0aece09761bf975e72eaa75cba92a4e463d.1544466940.git-series.plaes@plaes.org \ --to=plaes@plaes.org \ --cc=broonie@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=lee.jones@linaro.org \ --cc=lgirdwood@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@googlegroups.com \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@bootlin.com \ --cc=oliver@schinagl.nl \ --cc=robh+dt@kernel.org \ --cc=wens@csie.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.