aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-02-23 09:03:23 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-01 15:58:17 +0100
commit9a6582b839281ee0e874621f1a2139d2aeb9489e (patch)
tree90cd0177bab4ee761ef3c00617bb578246ae02e0 /tools/perf/scripts/python
parente7d90cfac5510f8c94baa18f9f3f7808859c8332 (diff)
PM: domains: use dev_err_probe() to simplify error handling
dev_err_probe() can reduce code size, makes the code easier to read and has the added benefit of recording the defer reason for later read out. Use it where appropriate. This also fixes an issue, where an error message in __genpd_dev_pm_attach was not terminated by a line break. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions