• Lee Jones's avatar
    mfd: ab3100-core: Correct code sytle problems · cd63a894
    Lee Jones authored
    Corrects the following checkpatch gripes:
    
        WARNING: quoted string split across lines
        #95: FILE: drivers/mfd/ab3100-core.c:95:
        +			"write error (write register) "
        +			"%d bytes transferred (expected 2)\n",
    
        WARNING: quoted string split across lines
        #139: FILE: drivers/mfd/ab3100-core.c:139:
        +			"write error (write test register) "
        +			"%d bytes transferred (expected 2)\n",
    
        WARNING: quoted string split across lines
        #175: FILE: drivers/mfd/ab3100-core.c:175:
        +			"write error (send register address) "
        +			"%d bytes transferred (expected 1)\n",
    
        WARNING: quoted string split across lines
        #193: FILE: drivers/mfd/ab3100-core.c:193:
        +			"write error (read register) "
        +			"%d bytes transferred (expected 1)\n",
    
        WARNING: quoted string split across lines
        #241: FILE: drivers/mfd/ab3100-core.c:241:
        +			"write error (send first register address) "
        +			"%d bytes transferred (expected 1)\n",
    
        WARNING: quoted string split across lines
        #256: FILE: drivers/mfd/ab3100-core.c:256:
        +			"write error (read register page) "
        +			"%d bytes transferred (expected %d)\n",
    
        WARNING: quoted string split across lines
        #299: FILE: drivers/mfd/ab3100-core.c:299:
        +			"write error (maskset send address) "
        +			"%d bytes transferred (expected 1)\n",
    
        WARNING: quoted string split across lines
        #314: FILE: drivers/mfd/ab3100-core.c:314:
        +			"write error (maskset read register) "
        +			"%d bytes transferred (expected 1)\n",
    
        WARNING: quoted string split across lines
        #334: FILE: drivers/mfd/ab3100-core.c:334:
        +			"write error (write register) "
        +			"%d bytes transferred (expected 2)\n",
    
        WARNING: please, no spaces at the start of a line
        #374: FILE: drivers/mfd/ab3100-core.c:374:
        +  return blocking_notifier_chain_unregister(&ab3100->event_subscribers,$
    
        WARNING: Prefer seq_puts to seq_printf
        #458: FILE: drivers/mfd/ab3100-core.c:458:
        +	seq_printf(s, "AB3100 registers:\n");
    
        WARNING: quoted string split across lines
        #564: FILE: drivers/mfd/ab3100-core.c:564:
        +			 "debug write reg[0x%02x] with 0x%02x, "
        +			 "after readback: 0x%02x\n",
    
        WARNING: quoted string split across lines
        #723: FILE: drivers/mfd/ab3100-core.c:723:
        +			 "AB3100 P1E variant detected, "
        +			 "forcing chip to 32KHz\n");
    
        WARNING: quoted string split across lines
        #882: FILE: drivers/mfd/ab3100-core.c:882:
        +			"could not communicate with the AB3100 analog "
        +			"baseband chip\n");
    
        WARNING: quoted string split across lines
        #906: FILE: drivers/mfd/ab3100-core.c:906:
        +		dev_err(&client->dev, "accepting it anyway. Please update "
        +			"the driver.\n");
    
        total: 0 errors, 15 warnings, 999 lines checked
    Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    cd63a894
ab3100-core.c 21.7 KB