OSDN Git Service

soc: xilinx: cleanup debug and error messages
authorMichael Tretter <m.tretter@pengutronix.de>
Wed, 25 Aug 2021 15:03:11 +0000 (17:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 8 Dec 2021 11:53:35 +0000 (12:53 +0100)
commitc4245100f7461e0dd1f16ef0e0fcc19bcd826de3
tree06878ee977f2eeaccb385bb5bd449551693a8efe
parent7fd890b89dea55eb5866640eb8befad26d558161
soc: xilinx: cleanup debug and error messages

Use dev_err/dev_dbg instead of pr_err/pr_debug.

Add the PM node ids to supplement the (arbitrary) power domain names to
include information which PM nodes are requested by the driver.

Drop function names from the messages, because they can easily be added
with dynamic debug.

Remove comments explaining that error messages are printed on errors.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Rajan Vaja <rajan.vaja@xilinx.com>
Link: https://lore.kernel.org/r/20210825150313.4033156-3-m.tretter@pengutronix.de
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/soc/xilinx/zynqmp_pm_domains.c