mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PM / Domains: Make generic_pm_domain.name const
@ 2014-08-29 13:13 Geert Uytterhoeven
  2014-09-01 23:50 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2014-08-29 13:13 UTC (permalink / raw)
  To: Rafael J. Wysocki, Pavel Machek, Len Brown
  Cc: linux-pm, linux-kernel, Geert Uytterhoeven

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/linux/pm_domain.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 7c1d252b20c0..ebc4c76ffb73 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -60,7 +60,7 @@ struct generic_pm_domain {
 	struct mutex lock;
 	struct dev_power_governor *gov;
 	struct work_struct power_off_work;
-	char *name;
+	const char *name;
 	unsigned int in_progress;	/* Number of devices being suspended now */
 	atomic_t sd_count;	/* Number of subdomains with power "on" */
 	enum gpd_status status;	/* Current state of the domain */
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PM / Domains: Make generic_pm_domain.name const
  2014-08-29 13:13 [PATCH] PM / Domains: Make generic_pm_domain.name const Geert Uytterhoeven
@ 2014-09-01 23:50 ` Rafael J. Wysocki
  2014-09-02  6:56   ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2014-09-01 23:50 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Pavel Machek, Len Brown, linux-pm, linux-kernel

On Friday, August 29, 2014 03:13:21 PM Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

I'm going to apply this one.  Does anything depend on it?

> ---
>  include/linux/pm_domain.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
> index 7c1d252b20c0..ebc4c76ffb73 100644
> --- a/include/linux/pm_domain.h
> +++ b/include/linux/pm_domain.h
> @@ -60,7 +60,7 @@ struct generic_pm_domain {
>  	struct mutex lock;
>  	struct dev_power_governor *gov;
>  	struct work_struct power_off_work;
> -	char *name;
> +	const char *name;
>  	unsigned int in_progress;	/* Number of devices being suspended now */
>  	atomic_t sd_count;	/* Number of subdomains with power "on" */
>  	enum gpd_status status;	/* Current state of the domain */
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PM / Domains: Make generic_pm_domain.name const
  2014-09-01 23:50 ` Rafael J. Wysocki
@ 2014-09-02  6:56   ` Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2014-09-02  6:56 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Geert Uytterhoeven, Pavel Machek, Len Brown, Linux PM list, linux-kernel

Hi Rafael,

On Tue, Sep 2, 2014 at 1:50 AM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> I'm going to apply this one.  Does anything depend on it?

Thanks. So far nothing depends on it.

>> ---
>>  include/linux/pm_domain.h |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
>> index 7c1d252b20c0..ebc4c76ffb73 100644
>> --- a/include/linux/pm_domain.h
>> +++ b/include/linux/pm_domain.h
>> @@ -60,7 +60,7 @@ struct generic_pm_domain {
>>       struct mutex lock;
>>       struct dev_power_governor *gov;
>>       struct work_struct power_off_work;
>> -     char *name;
>> +     const char *name;

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-02  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 13:13 [PATCH] PM / Domains: Make generic_pm_domain.name const Geert Uytterhoeven
2014-09-01 23:50 ` Rafael J. Wysocki
2014-09-02  6:56   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®