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 <dlechner@baylibre.com>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
This commit is contained in:
David Lechner
2025-12-16 18:56:35 -06:00
committed by Tom Rini
parent edf95638e2
commit 1f9e228c2f

View File

@@ -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;
}