staging: rts5208: spi.c: fix codestyle error in dynamic debug code
authorSrivathsan Sivakumar <sri.skumar05@gmail.com>
Wed, 25 May 2022 06:05:44 +0000 (02:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 05:53:49 +0000 (07:53 +0200)
reduce number of spaces in dev_dbg() code
format the commit and changelog more clearly

Signed-off-by: Srivathsan Sivakumar <sri.skumar05@gmail.com>
Link: https://lore.kernel.org/r/Yo3HOPPKnWHez7ES@Sassy
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/spi.c

index f1e9e80..e88fe1a 100644 (file)
@@ -460,10 +460,8 @@ int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip)
        spi->clk_div = ((u16)(srb->cmnd[4]) << 8) | srb->cmnd[5];
        spi->write_en = srb->cmnd[6];
 
-       dev_dbg(rtsx_dev(chip), "%s: ", __func__);
-       dev_dbg(rtsx_dev(chip), "spi_clock = %d, ", spi->spi_clock);
-       dev_dbg(rtsx_dev(chip), "clk_div = %d, ", spi->clk_div);
-       dev_dbg(rtsx_dev(chip), "write_en = %d\n", spi->write_en);
+       dev_dbg(rtsx_dev(chip), "spi_clock = %d, clk_div = %d, write_en = %d\n",
+               spi->spi_clock, spi->clk_div, spi->write_en);
 
        return STATUS_SUCCESS;
 }