Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…o/linux

Pull DTPM (Dynamic Thermal Power Management) changes for 5.17-rc1
from Daniel Lezcano:

 - Clean up and reduce trace verbosity (Daniel Lezcano)

* tag 'dtpm-v5.17' of https://git.linaro.org/people/daniel.lezcano/linux:
  powercap/drivers/dtpm: Reduce trace verbosity
  powercap/drivers/dtpm: Remove unused function definition
  • Loading branch information
Rafael J. Wysocki committed Dec 27, 2021
2 parents a7904a5 + c1af85e commit b8470e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/powercap/dtpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void dtpm_unregister(struct dtpm *dtpm)
{
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);
}

/**
Expand Down Expand Up @@ -453,8 +453,8 @@ int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent)
dtpm->power_limit = dtpm->power_max;
}

pr_info("Registered dtpm node '%s' / %llu-%llu uW, \n",
dtpm->zone.name, dtpm->power_min, dtpm->power_max);
pr_debug("Registered dtpm node '%s' / %llu-%llu uW, \n",
dtpm->zone.name, dtpm->power_min, dtpm->power_max);

mutex_unlock(&dtpm_lock);

Expand Down
2 changes: 0 additions & 2 deletions include/linux/dtpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,4 @@ void dtpm_unregister(struct dtpm *dtpm);

int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent);

int dtpm_register_cpu(struct dtpm *parent);

#endif

0 comments on commit b8470e9

Please sign in to comment.