aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2013-08-14 05:44:30 -0400
committerJoerg Roedel <joro@8bytes.org>2013-08-14 05:44:30 -0400
commit634544bf718dd29cd2e29efba6801a8d08daf335 (patch)
treeee6b18b8366de30c0f8e33ed8c98faca490637da /drivers/iommu/fsl_pamu.c
parent9ed436621a5ffd99e03e3f2f6d4fdfb916e5add9 (diff)
iommu/fsl: Remove unnecessary 'fsl-pamu' prefixes
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>
Diffstat (limited to 'drivers/iommu/fsl_pamu.c')
-rw-r--r--drivers/iommu/fsl_pamu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
index a831fee32399..cba0498eb011 100644
--- a/drivers/iommu/fsl_pamu.c
+++ b/drivers/iommu/fsl_pamu.c
@@ -779,7 +779,7 @@ irqreturn_t pamu_av_isr(int irq, void *arg)
779 phys_addr_t phys; 779 phys_addr_t phys;
780 unsigned int i, j, ret; 780 unsigned int i, j, ret;
781 781
782 pr_emerg("fsl-pamu: access violation interrupt\n"); 782 pr_emerg("access violation interrupt\n");
783 783
784 for (i = 0; i < data->count; i++) { 784 for (i = 0; i < data->count; i++) {
785 void __iomem *p = data->pamu_reg_base + i * PAMU_OFFSET; 785 void __iomem *p = data->pamu_reg_base + i * PAMU_OFFSET;
@@ -1260,19 +1260,19 @@ static __init int fsl_pamu_init(void)
1260 1260
1261 np = of_find_compatible_node(NULL, NULL, "fsl,pamu"); 1261 np = of_find_compatible_node(NULL, NULL, "fsl,pamu");
1262 if (!np) { 1262 if (!np) {
1263 pr_err("fsl-pamu: could not find a PAMU node\n"); 1263 pr_err("could not find a PAMU node\n");
1264 return -ENODEV; 1264 return -ENODEV;
1265 } 1265 }
1266 1266
1267 ret = platform_driver_register(&fsl_of_pamu_driver); 1267 ret = platform_driver_register(&fsl_of_pamu_driver);
1268 if (ret) { 1268 if (ret) {
1269 pr_err("fsl-pamu: could not register driver (err=%i)\n", ret); 1269 pr_err("could not register driver (err=%i)\n", ret);
1270 goto error_driver_register; 1270 goto error_driver_register;
1271 } 1271 }
1272 1272
1273 pdev = platform_device_alloc("fsl-of-pamu", 0); 1273 pdev = platform_device_alloc("fsl-of-pamu", 0);
1274 if (!pdev) { 1274 if (!pdev) {
1275 pr_err("fsl-pamu: could not allocate device %s\n", 1275 pr_err("could not allocate device %s\n",
1276 np->full_name); 1276 np->full_name);
1277 ret = -ENOMEM; 1277 ret = -ENOMEM;
1278 goto error_device_alloc; 1278 goto error_device_alloc;
@@ -1285,7 +1285,7 @@ static __init int fsl_pamu_init(void)
1285 1285
1286 ret = platform_device_add(pdev); 1286 ret = platform_device_add(pdev);
1287 if (ret) { 1287 if (ret) {
1288 pr_err("fsl-pamu: could not add device %s (err=%i)\n", 1288 pr_err("could not add device %s (err=%i)\n",
1289 np->full_name, ret); 1289 np->full_name, ret);
1290 goto error_device_add; 1290 goto error_device_add;
1291 } 1291 }