linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] base:power:sysfs: Remove redundant attribute runtime_status in runtime_attrs
@ 2020-05-21  9:25 chenxiang
  2020-05-21 13:05 ` kbuild test robot
  0 siblings, 1 reply; 3+ messages in thread
From: chenxiang @ 2020-05-21  9:25 UTC (permalink / raw)
  To: rafael, pavel, sre; +Cc: john.garry, linux-pm, linuxarm, Xiang Chen

From: Xiang Chen <chenxiang66@hisilicon.com>

The attribute runtime_status is already defined in power_attrs, and
it is not necessary to define it again in runtime_attrs, so remove it.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
---
 drivers/base/power/sysfs.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c
index 2b99fe1..3ef4adf 100644
--- a/drivers/base/power/sysfs.c
+++ b/drivers/base/power/sysfs.c
@@ -613,9 +613,6 @@ static const struct attribute_group pm_wakeup_attr_group = {
 };
 
 static struct attribute *runtime_attrs[] = {
-#ifndef CONFIG_PM_ADVANCED_DEBUG
-	&dev_attr_runtime_status.attr,
-#endif
 	&dev_attr_control.attr,
 	&dev_attr_runtime_suspended_time.attr,
 	&dev_attr_runtime_active_time.attr,
-- 
2.8.1


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

end of thread, other threads:[~2020-05-22  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  9:25 [PATCH] base:power:sysfs: Remove redundant attribute runtime_status in runtime_attrs chenxiang
2020-05-21 13:05 ` kbuild test robot
2020-05-22  3:18   ` chenxiang (M)

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).