lkml.org 
[lkml]   [2021]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] spi: pxa2xx: Fix inconsistent indenting
    Date
    Eliminate the follow smatch warning:

    drivers/spi/spi-pxa2xx-pci.c:260 pxa2xx_spi_pci_probe() warn:
    inconsistent indenting.

    Reported-by: Abaci Robot <abaci@linux.alibaba.com>
    Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
    ---
    drivers/spi/spi-pxa2xx-pci.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c
    index 9c9992d..2e134eb 100644
    --- a/drivers/spi/spi-pxa2xx-pci.c
    +++ b/drivers/spi/spi-pxa2xx-pci.c
    @@ -257,7 +257,7 @@ static int pxa2xx_spi_pci_probe(struct pci_dev *dev,
    snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);
    ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0,
    c->max_clk_rate);
    - if (IS_ERR(ssp->clk))
    + if (IS_ERR(ssp->clk))
    return PTR_ERR(ssp->clk);

    memset(&pi, 0, sizeof(pi));
    --
    1.8.3.1
    \
     
     \ /
      Last update: 2021-05-21 11:48    [W:3.643 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site