mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
soc: qualcomm: Fix not calling dev_err with a device
Remove the indirection. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
@@ -879,7 +879,7 @@ static int qcom_smem_probe(struct udevice *dev)
|
||||
header = smem->regions[0].virt_base;
|
||||
if (le32_to_cpu(header->initialized) != 1 ||
|
||||
le32_to_cpu(header->reserved)) {
|
||||
dev_err(&pdev->dev, "SMEM is not initialized by SBL\n");
|
||||
dev_err(dev, "SMEM is not initialized by SBL\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user