mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Remove multiple KERN_ prefixes from printk formats
Commit 5fd29d6ccb ("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_<level> prefixes are no longer emitted as
before the patch.
<level> is now included in the output on each additional use.
Remove all uses of multiple KERN_<level>s in formats.
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e3288775ff
commit
ad361c9884
70 changed files with 330 additions and 338 deletions
|
|
@ -85,10 +85,11 @@ static void dump_iic_regs(const char* header, struct ibm_iic_private* dev)
|
|||
{
|
||||
volatile struct iic_regs __iomem *iic = dev->vaddr;
|
||||
printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header);
|
||||
printk(KERN_DEBUG " cntl = 0x%02x, mdcntl = 0x%02x\n"
|
||||
KERN_DEBUG " sts = 0x%02x, extsts = 0x%02x\n"
|
||||
KERN_DEBUG " clkdiv = 0x%02x, xfrcnt = 0x%02x\n"
|
||||
KERN_DEBUG " xtcntlss = 0x%02x, directcntl = 0x%02x\n",
|
||||
printk(KERN_DEBUG
|
||||
" cntl = 0x%02x, mdcntl = 0x%02x\n"
|
||||
" sts = 0x%02x, extsts = 0x%02x\n"
|
||||
" clkdiv = 0x%02x, xfrcnt = 0x%02x\n"
|
||||
" xtcntlss = 0x%02x, directcntl = 0x%02x\n",
|
||||
in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts),
|
||||
in_8(&iic->extsts), in_8(&iic->clkdiv), in_8(&iic->xfrcnt),
|
||||
in_8(&iic->xtcntlss), in_8(&iic->directcntl));
|
||||
|
|
|
|||
Loading…
Reference in a new issue