mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
spi: s3c64xx: drop blank line between declarations
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>
This commit is contained in:
parent
1a234accc9
commit
91a9b8e6b6
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue