The dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val); prints the 'reg'
address preceded by the prefix 0x0x instead of 0x. This because the
printf '%pa' format specifier already prepends the prefix '0x' to the
address displayed.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
pdata->width);
continue;
}
- dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val);
+ dev_dbg(dev, " reg/val %pa/0x%08x\n", ®, val);
}
return 0;
}
pdata->width);
continue;
}
- dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val);
+ dev_dbg(dev, " reg/val %pa/0x%08x\n", ®, val);
}
return 0;
}