Skip to content

Commit

Permalink
iommu/fsl: Remove unnecessary 'fsl-pamu' prefixes
Browse files Browse the repository at this point in the history
The file defines a pr_fmt macro, so there is no need to add
this prefix to individual messages.

Signed-off-by: Joerg Roedel <joro@8bytes.org>
  • Loading branch information
Joerg Roedel committed Aug 14, 2013
1 parent 9ed4366 commit 634544b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/iommu/fsl_pamu.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ irqreturn_t pamu_av_isr(int irq, void *arg)
phys_addr_t phys;
unsigned int i, j, ret;

pr_emerg("fsl-pamu: access violation interrupt\n");
pr_emerg("access violation interrupt\n");

for (i = 0; i < data->count; i++) {
void __iomem *p = data->pamu_reg_base + i * PAMU_OFFSET;
Expand Down Expand Up @@ -1260,19 +1260,19 @@ static __init int fsl_pamu_init(void)

np = of_find_compatible_node(NULL, NULL, "fsl,pamu");
if (!np) {
pr_err("fsl-pamu: could not find a PAMU node\n");
pr_err("could not find a PAMU node\n");
return -ENODEV;
}

ret = platform_driver_register(&fsl_of_pamu_driver);
if (ret) {
pr_err("fsl-pamu: could not register driver (err=%i)\n", ret);
pr_err("could not register driver (err=%i)\n", ret);
goto error_driver_register;
}

pdev = platform_device_alloc("fsl-of-pamu", 0);
if (!pdev) {
pr_err("fsl-pamu: could not allocate device %s\n",
pr_err("could not allocate device %s\n",
np->full_name);
ret = -ENOMEM;
goto error_device_alloc;
Expand All @@ -1285,7 +1285,7 @@ static __init int fsl_pamu_init(void)

ret = platform_device_add(pdev);
if (ret) {
pr_err("fsl-pamu: could not add device %s (err=%i)\n",
pr_err("could not add device %s (err=%i)\n",
np->full_name, ret);
goto error_device_add;
}
Expand Down

0 comments on commit 634544b

Please sign in to comment.