diff options
author | Wolfram Sang <[email protected]> | 2022-06-10 22:04:59 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-07-28 17:29:44 +0200 |
commit | 404dd7dfb13028d315514f63ed3cf9da46307a39 (patch) | |
tree | 3112bb06280b9acdc228520ddb063278fbbab48b /drivers/usb/cdns3/cdns3-trace.c | |
parent | 037a6ea0debbe3da3f5cef311d835fb7f1a5e2c7 (diff) |
drivers/thermal/rcar_gen3_thermal: Improve logging during probe
When setting up a new board, a plain "Can't register thermal zone"
didn't help me much because the thermal zones in DT were all fine. I
just had a sensor entry too much in the parent TSC node. Reword the
failure/success messages to contain the sensor number to make it easier
to understand which sensor is affected. Example output now:
rcar_gen3_thermal e6198000.thermal: Sensor 0: Loaded 1 trip points
rcar_gen3_thermal e6198000.thermal: Sensor 1: Loaded 1 trip points
rcar_gen3_thermal e6198000.thermal: Sensor 2: Loaded 1 trip points
rcar_gen3_thermal e6198000.thermal: Sensor 3: Can't register thermal zone
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions