* [PATCH] pwm: Convert to using %pOF instead of full_name @ 2017-07-18 21:43 Rob Herring [not found] ` <20170718214339.7774-45-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Rob Herring @ 2017-07-18 21:43 UTC (permalink / raw) To: Thierry Reding Cc: linux-kernel, devicetree, Carlo Caione, Kevin Hilman, linux-pwm, linux-arm-kernel, linux-amlogic Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Carlo Caione <carlo@caione.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: linux-pwm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-amlogic@lists.infradead.org --- drivers/pwm/pwm-meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index cb845edfe2b4..d589331d1884 100644 --- a/drivers/pwm/pwm-meson.c +++ b/drivers/pwm/pwm-meson.c @@ -441,7 +441,7 @@ static int meson_pwm_init_channels(struct meson_pwm *meson, for (i = 0; i < meson->chip.npwm; i++) { struct meson_pwm_channel *channel = &channels[i]; - snprintf(name, sizeof(name), "%s#mux%u", np->full_name, i); + snprintf(name, sizeof(name), "%pOF#mux%u", np, i); init.name = name; init.ops = &clk_mux_ops; -- 2.11.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <20170718214339.7774-45-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>]
* Re: [PATCH] pwm: Convert to using %pOF instead of full_name [not found] ` <20170718214339.7774-45-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> @ 2017-07-24 8:34 ` Neil Armstrong 2017-07-25 11:38 ` Thierry Reding 1 sibling, 0 replies; 5+ messages in thread From: Neil Armstrong @ 2017-07-24 8:34 UTC (permalink / raw) To: Rob Herring, Thierry Reding Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Kevin Hilman, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Carlo Caione, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On 07/18/2017 11:43 PM, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Cc: Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org> > Cc: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> > Cc: linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > Cc: linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > --- > drivers/pwm/pwm-meson.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c > index cb845edfe2b4..d589331d1884 100644 > --- a/drivers/pwm/pwm-meson.c > +++ b/drivers/pwm/pwm-meson.c > @@ -441,7 +441,7 @@ static int meson_pwm_init_channels(struct meson_pwm *meson, > for (i = 0; i < meson->chip.npwm; i++) { > struct meson_pwm_channel *channel = &channels[i]; > > - snprintf(name, sizeof(name), "%s#mux%u", np->full_name, i); > + snprintf(name, sizeof(name), "%pOF#mux%u", np, i); > > init.name = name; > init.ops = &clk_mux_ops; > -- > 2.11.0 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic > Acked-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] pwm: Convert to using %pOF instead of full_name [not found] ` <20170718214339.7774-45-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2017-07-24 8:34 ` Neil Armstrong @ 2017-07-25 11:38 ` Thierry Reding 2017-08-09 22:12 ` Rob Herring 1 sibling, 1 reply; 5+ messages in thread From: Thierry Reding @ 2017-07-25 11:38 UTC (permalink / raw) To: Rob Herring Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, Carlo Caione, Kevin Hilman, linux-pwm-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r [-- Attachment #1: Type: text/plain, Size: 870 bytes --] On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Cc: Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org> > Cc: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> > Cc: linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > Cc: linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > --- > drivers/pwm/pwm-meson.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] pwm: Convert to using %pOF instead of full_name 2017-07-25 11:38 ` Thierry Reding @ 2017-08-09 22:12 ` Rob Herring 2017-08-21 6:57 ` Thierry Reding 0 siblings, 1 reply; 5+ messages in thread From: Rob Herring @ 2017-08-09 22:12 UTC (permalink / raw) To: Thierry Reding Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Carlo Caione, Kevin Hilman, Linux PWM List, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each node. >> >> Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >> Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> Cc: Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org> >> Cc: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> >> Cc: linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >> Cc: linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >> --- >> drivers/pwm/pwm-meson.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Applied, thanks. This is not showing up in -next. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] pwm: Convert to using %pOF instead of full_name 2017-08-09 22:12 ` Rob Herring @ 2017-08-21 6:57 ` Thierry Reding 0 siblings, 0 replies; 5+ messages in thread From: Thierry Reding @ 2017-08-21 6:57 UTC (permalink / raw) To: Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Carlo Caione, Kevin Hilman, Linux PWM List, linux-arm-kernel@lists.infradead.org, linux-amlogic [-- Attachment #1: Type: text/plain, Size: 1011 bytes --] On Wed, Aug 09, 2017 at 05:12:55PM -0500, Rob Herring wrote: > On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding > <thierry.reding@gmail.com> wrote: > > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of > >> full_name to use %pOF instead. This is preparation to remove storing > >> of the full path string for each node. > >> > >> Signed-off-by: Rob Herring <robh@kernel.org> > >> Cc: Thierry Reding <thierry.reding@gmail.com> > >> Cc: Carlo Caione <carlo@caione.org> > >> Cc: Kevin Hilman <khilman@baylibre.com> > >> Cc: linux-pwm@vger.kernel.org > >> Cc: linux-arm-kernel@lists.infradead.org > >> Cc: linux-amlogic@lists.infradead.org > >> --- > >> drivers/pwm/pwm-meson.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Applied, thanks. > > This is not showing up in -next. Yes, I had forgotten to push this out. I've done that now, so it should be in the next -next. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-21 6:57 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-18 21:43 [PATCH] pwm: Convert to using %pOF instead of full_name Rob Herring [not found] ` <20170718214339.7774-45-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2017-07-24 8:34 ` Neil Armstrong 2017-07-25 11:38 ` Thierry Reding 2017-08-09 22:12 ` Rob Herring 2017-08-21 6:57 ` Thierry Reding
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).