2020-07-14 12:59:32

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] PM / Domains: Restore comment indentation for generic_pm_domain.child_links

The rename of generic_pm_domain.slave_links to
generic_pm_domain.child_links accidentally dropped the TAB to align the
member's comment. Re-add the lost TAB to restore indentation.

Fixes: 8d87ae48ced2dffd ("PM: domains: Fix up terminology with parent/child")
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
Feel free to fold into the original, if deemed appropriate.
---
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 574a1fadb1e50631..ee11502a575b0eca 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -96,7 +96,7 @@ struct generic_pm_domain {
struct dev_pm_domain domain; /* PM domain operations */
struct list_head gpd_list_node; /* Node in the global PM domains list */
struct list_head parent_links; /* Links with PM domain as a parent */
- struct list_head child_links;/* Links with PM domain as a child */
+ struct list_head child_links; /* Links with PM domain as a child */
struct list_head dev_list; /* List of devices */
struct dev_power_governor *gov;
struct work_struct power_off_work;
--
2.17.1


2020-07-14 13:18:17

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] PM / Domains: Restore comment indentation for generic_pm_domain.child_links

On Tue, Jul 14, 2020 at 2:56 PM Geert Uytterhoeven
<[email protected]> wrote:
>
> The rename of generic_pm_domain.slave_links to
> generic_pm_domain.child_links accidentally dropped the TAB to align the
> member's comment. Re-add the lost TAB to restore indentation.
>
> Fixes: 8d87ae48ced2dffd ("PM: domains: Fix up terminology with parent/child")
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> Feel free to fold into the original, if deemed appropriate.
> ---
> 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 574a1fadb1e50631..ee11502a575b0eca 100644
> --- a/include/linux/pm_domain.h
> +++ b/include/linux/pm_domain.h
> @@ -96,7 +96,7 @@ struct generic_pm_domain {
> struct dev_pm_domain domain; /* PM domain operations */
> struct list_head gpd_list_node; /* Node in the global PM domains list */
> struct list_head parent_links; /* Links with PM domain as a parent */
> - struct list_head child_links;/* Links with PM domain as a child */
> + struct list_head child_links; /* Links with PM domain as a child */
> struct list_head dev_list; /* List of devices */
> struct dev_power_governor *gov;
> struct work_struct power_off_work;
> --

Applied with a minor edit in the subject, thanks!