diff options
| author | David Lechner <[email protected]> | 2025-12-16 18:56:35 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-02 15:51:54 -0600 |
| commit | 1f9e228c2fb739a000bab27d8e09312d425c2a3d (patch) | |
| tree | 182ed410beb4d58fa73ba5c75d7033404d8c01e6 /drivers | |
| parent | edf95638e20c276f1eb8be16364fa5cce4793a2d (diff) | |
pwm: aspeed: replace %pe in dev_err()
Replace %pe with %d and adjust the argument accordingly in a dev_err()
call in the pwm-aspeed driver. U-boot doesn't support the %pe format
specifier. Likely it was copied from Linux.
Signed-off-by: David Lechner <[email protected]>
Reviewed-by: Chia-Wei Wang <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pwm/pwm-aspeed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-aspeed.c b/drivers/pwm/pwm-aspeed.c index eefe018448f..74e79686dfc 100644 --- a/drivers/pwm/pwm-aspeed.c +++ b/drivers/pwm/pwm-aspeed.c @@ -211,8 +211,7 @@ static int aspeed_pwm_probe(struct udevice *dev) } ret = reset_deassert(&priv->reset); if (ret) { - dev_err(dev, "cannot deassert reset control: %pe\n", - ERR_PTR(ret)); + dev_err(dev, "cannot deassert reset control: %d\n", ret); return ret; } |
