mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
EDAC, cpc925, ppc4xx: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
parent
c54182ec0e
commit
2efdda4a41
2 changed files with 5 additions and 5 deletions
|
|
@ -618,7 +618,7 @@ static u32 cpc925_cpu_mask_disabled(void)
|
|||
}
|
||||
|
||||
if (reg == NULL || *reg > 2) {
|
||||
cpc925_printk(KERN_ERR, "Bad reg value at %s\n", cpunode->full_name);
|
||||
cpc925_printk(KERN_ERR, "Bad reg value at %pOF\n", cpunode);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1266,8 +1266,8 @@ static int ppc4xx_edac_probe(struct platform_device *op)
|
|||
memcheck = (mcopt1 & SDRAM_MCOPT1_MCHK_MASK);
|
||||
|
||||
if (memcheck == SDRAM_MCOPT1_MCHK_NON) {
|
||||
ppc4xx_edac_printk(KERN_INFO, "%s: No ECC memory detected or "
|
||||
"ECC is disabled.\n", np->full_name);
|
||||
ppc4xx_edac_printk(KERN_INFO, "%pOF: No ECC memory detected or "
|
||||
"ECC is disabled.\n", np);
|
||||
status = -ENODEV;
|
||||
goto done;
|
||||
}
|
||||
|
|
@ -1286,9 +1286,9 @@ static int ppc4xx_edac_probe(struct platform_device *op)
|
|||
mci = edac_mc_alloc(ppc4xx_edac_instance, ARRAY_SIZE(layers), layers,
|
||||
sizeof(struct ppc4xx_edac_pdata));
|
||||
if (mci == NULL) {
|
||||
ppc4xx_edac_printk(KERN_ERR, "%s: "
|
||||
ppc4xx_edac_printk(KERN_ERR, "%pOF: "
|
||||
"Failed to allocate EDAC MC instance!\n",
|
||||
np->full_name);
|
||||
np);
|
||||
status = -ENOMEM;
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue