Commit c1af85e4 authored by Daniel Lezcano's avatar Daniel Lezcano

powercap/drivers/dtpm: Reduce trace verbosity

The traces when registering a powerzone is at the pr_info level and
should be changed to pr_debug as requested by Greg-KH.

Cc: Greg KH <gregkh@linuxfoundation.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/YGAnRx8SiZHFPpY6@kroah.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20211123101601.2433340-2-daniel.lezcano@linaro.org
parent 66b35406
...@@ -382,7 +382,7 @@ void dtpm_unregister(struct dtpm *dtpm) ...@@ -382,7 +382,7 @@ void dtpm_unregister(struct dtpm *dtpm)
{ {
powercap_unregister_zone(pct, &dtpm->zone); powercap_unregister_zone(pct, &dtpm->zone);
pr_info("Unregistered dtpm node '%s'\n", dtpm->zone.name); pr_debug("Unregistered dtpm node '%s'\n", dtpm->zone.name);
} }
/** /**
...@@ -453,7 +453,7 @@ int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent) ...@@ -453,7 +453,7 @@ int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent)
dtpm->power_limit = dtpm->power_max; dtpm->power_limit = dtpm->power_max;
} }
pr_info("Registered dtpm node '%s' / %llu-%llu uW, \n", pr_debug("Registered dtpm node '%s' / %llu-%llu uW, \n",
dtpm->zone.name, dtpm->power_min, dtpm->power_max); dtpm->zone.name, dtpm->power_min, dtpm->power_max);
mutex_unlock(&dtpm_lock); mutex_unlock(&dtpm_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment