memory: tegra114-emc: Simplify tegra114_emc_interconnect_init() error message

Use dev_err_probe() in tegra114_emc_interconnect_init() to make code a
bit simpler.  It's preferred form of printing error messages during
probe, even if actual call cannot return EPROBE_DEFER.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260504190004.747509-4-krzysztof.kozlowski@oss.qualcomm.com
This commit is contained in:
Krzysztof Kozlowski 2026-05-04 21:00:06 +02:00 committed by Krzysztof Kozlowski
parent 67de69ef2a
commit 0a783a6686

View File

@ -1233,9 +1233,8 @@ static int tegra114_emc_interconnect_init(struct tegra_emc *emc)
remove_nodes:
icc_nodes_remove(&emc->provider);
dev_err(emc->dev, "failed to initialize ICC: %d\n", err);
return err;
return dev_err_probe(emc->dev, err, "failed to initialize ICC");
}
static void devm_tegra114_emc_unset_callback(void *data)