fthd: Clean up debug/info/error messages

Go for the pr_ macros instead of dev_

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
This commit is contained in:
Patrik Jakobsson
2016-07-03 01:13:21 +02:00
parent ab1f21ca7b
commit 1b84244a0e
6 changed files with 112 additions and 144 deletions

View File

@@ -69,9 +69,8 @@ struct iommu_obj *fthd_iommu_alloc_sgtable(struct fthd_private *dev_priv,
ret = allocate_resource(root, &obj->base, total_len, root->start,
root->end, 1, NULL, NULL);
if (ret) {
dev_err(&dev_priv->pdev->dev,
"Failed to allocate resource (size: %d, start: %Ld, end: %Ld)\n",
total_len, root->start, root->end);
pr_err("Failed to allocate resource (size: %d, start: %Ld, end: %Ld)\n",
total_len, root->start, root->end);
kfree(obj);
obj = NULL;