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:
parent
d7bd29c912
commit
cc6c2904b2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user