Re: [PATCH 2/2] PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name()

2019-02-15 Thread Doug Anderson
Hi, On Fri, Feb 15, 2019 at 2:28 AM Ulf Hansson wrote: > > On Thu, 14 Feb 2019 at 19:13, Douglas Anderson wrote: > > > > As of the patch ("PM / Domains: Mark "name" const in > > genpd_dev_pm_attach_by_name()") it's clear that the name in > > dev_pm_domain_attach_by_name() can be const. Mark it

Re: [PATCH 2/2] PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name()

2019-02-15 Thread Ulf Hansson
On Thu, 14 Feb 2019 at 19:13, Douglas Anderson wrote: > > As of the patch ("PM / Domains: Mark "name" const in > genpd_dev_pm_attach_by_name()") it's clear that the name in > dev_pm_domain_attach_by_name() can be const. Mark it as so. This > allows drivers to pass in a name that was declared

Re: [PATCH 2/2] PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name()

2019-02-14 Thread Stephen Boyd
Quoting Douglas Anderson (2019-02-14 10:12:49) > As of the patch ("PM / Domains: Mark "name" const in > genpd_dev_pm_attach_by_name()") it's clear that the name in > dev_pm_domain_attach_by_name() can be const. Mark it as so. This > allows drivers to pass in a name that was declared "const" in a

[PATCH 2/2] PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name()

2019-02-14 Thread Douglas Anderson
As of the patch ("PM / Domains: Mark "name" const in genpd_dev_pm_attach_by_name()") it's clear that the name in dev_pm_domain_attach_by_name() can be const. Mark it as so. This allows drivers to pass in a name that was declared "const" in a driver. Fixes: 27dceb81f445 ("PM / Domains: Introduce