diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 07:16:34 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 20:51:05 +0100 |
commit | c07caca3cea90332e410ba3e53bc264ae1f2c9c9 (patch) | |
tree | 712d55c6dd7c103e4cd77ffa4d1e113a95daca62 /drivers/spi/spi-pxa2xx-pci.c | |
parent | spi: sprd: Fix checkpatch spacing error (diff) | |
download | linux-c07caca3cea90332e410ba3e53bc264ae1f2c9c9.tar.xz linux-c07caca3cea90332e410ba3e53bc264ae1f2c9c9.zip |
spi: pxa2xx: Fix checkpatch spacing errors
Fix checkpatch errors:
ERROR: space prohibited before that ',' (ctx:WxW)
#255: FILE: spi-pxa2xx-pci.c:255:
+ ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL, 0,
^
ERROR: "foo* bar" should be "foo *bar"
#621: FILE: spi-pxa2xx.c:621:
+static void int_error_stop(struct driver_data *drv_data, const char* msg)
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1616566602-13894-4-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-pci.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 14fc41ed2361..1833f5876e9f 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c @@ -252,7 +252,7 @@ static int pxa2xx_spi_pci_probe(struct pci_dev *dev, ssp->irq = pci_irq_vector(dev, 0); snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id); - ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL, 0, + ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0, c->max_clk_rate); if (IS_ERR(ssp->clk)) return PTR_ERR(ssp->clk); |