• Lee Jones's avatar
    mfd: 88pm860x-core: Repair formatting issues · 2e57848f
    Lee Jones authored
    Fixes the following checkpatch warnings:
    
        WARNING: please, no space before tabs
        #5: FILE: drivers/mfd/88pm860x-core.c:5:
        + * ^IHaojian Zhuang <haojian.zhuang@marvell.com>$
    
        WARNING: line over 80 characters
        #143: FILE: drivers/mfd/88pm860x-core.c:143:
        +	{PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", IORESOURCE_IRQ,},
    
        WARNING: line over 80 characters
        #153: FILE: drivers/mfd/88pm860x-core.c:153:
        +	{PM8607_IRQ_CHG_DONE,  PM8607_IRQ_CHG_DONE,  "charging done",       IORESOURCE_IRQ,},
    
        WARNING: line over 80 characters
        #154: FILE: drivers/mfd/88pm860x-core.c:154:
        +	{PM8607_IRQ_CHG_FAIL,  PM8607_IRQ_CHG_FAIL,  "charging timeout",    IORESOURCE_IRQ,},
    
        WARNING: line over 80 characters
        #155: FILE: drivers/mfd/88pm860x-core.c:155:
        +	{PM8607_IRQ_CHG_FAULT, PM8607_IRQ_CHG_FAULT, "charging fault",	    IORESOURCE_IRQ,},
    
        WARNING: line over 80 characters
        #156: FILE: drivers/mfd/88pm860x-core.c:156:
        +	{PM8607_IRQ_GPADC1,    PM8607_IRQ_GPADC1,    "battery temperature", IORESOURCE_IRQ,},
    
        WARNING: Avoid unnecessary line continuations
        #571: FILE: drivers/mfd/88pm860x-core.c:571:
        +	struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
    
        WARNING: line over 80 characters
        #634: FILE: drivers/mfd/88pm860x-core.c:634:
        +	ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags | IRQF_ONESHOT,
    
        WARNING: Unnecessary parentheses - maybe == should be = ?
        #874: FILE: drivers/mfd/88pm860x-core.c:874:
        +	if ((pdata == NULL))
    
        WARNING: quoted string split across lines
        #1001: FILE: drivers/mfd/88pm860x-core.c:1001:
        +		dev_err(chip->dev, "Failed to detect Marvell 88PM8607. "
        +			"Chip ID: %02x\n", ret);
    
        WARNING: quoted string split across lines
        #1124: FILE: drivers/mfd/88pm860x-core.c:1124:
        +		dev_err(dev, "Not found \"marvell,88pm860x-slave-addr\" "
        +			"property\n");
    
    total: 0 errors, 11 warnings, 1281 lines checked
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    2e57848f
88pm860x-core.c 33.6 KB