mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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:
parent
67de69ef2a
commit
0a783a6686
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user