[PATCH] MAINTAINERS: Hibernation or S2R doesn't cover entire power directory

From: Viresh Kumar
Date: Wed Sep 20 2017 - 11:59:08 EST


The command:

$ scripts/get_maintainer.pl -f drivers/base/power/opp/core.c

is incorrectly picking maintainers from Hibernation and Suspend to RAM
as well, simply because the entries in MAINTAINERS file contains the
entire power directory. Though the only concerning file is main.c
really. Mention the exact file name to fix it.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 2281af4b41b6..59521c15c65e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6150,7 +6150,7 @@ L: linux-pm@xxxxxxxxxxxxxxx
B: https://bugzilla.kernel.org
S: Supported
F: arch/x86/power/
-F: drivers/base/power/
+F: drivers/base/power/main.c
F: kernel/power/
F: include/linux/suspend.h
F: include/linux/freezer.h
@@ -12809,7 +12809,7 @@ B: https://bugzilla.kernel.org
S: Supported
F: Documentation/power/
F: arch/x86/kernel/acpi/
-F: drivers/base/power/
+F: drivers/base/power/main.c
F: kernel/power/
F: include/linux/suspend.h
F: include/linux/freezer.h
--
2.7.4