spi: s3c64xx: drop blank line between declarations
authorTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 7 Feb 2024 12:04:28 +0000 (12:04 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 16:33:37 +0000 (16:33 +0000)
Drop the blank line and move the logical operation in the body of the
function rather than in initialization list.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240207120431.2766269-15-tudor.ambarus@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c

index 4706104..458ed0c 100644 (file)
@@ -1321,8 +1321,9 @@ static int s3c64xx_spi_suspend(struct device *dev)
 {
        struct spi_controller *host = dev_get_drvdata(dev);
        struct s3c64xx_spi_driver_data *sdd = spi_controller_get_devdata(host);
+       int ret;
 
-       int ret = spi_controller_suspend(host);
+       ret = spi_controller_suspend(host);
        if (ret)
                return ret;