Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a536d765 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

spi: atmel: Silence checkpatch errors



Fixes the following types of checkpatch errors and warning:
ERROR: space required after that ',' (ctx:VxV)
WARNING: sizeof *as should be sizeof(*as)

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ec60dd37
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -1516,7 +1516,7 @@ static int atmel_spi_probe(struct platform_device *pdev)

	/* setup spi core then atmel-specific driver state */
	ret = -ENOMEM;
	master = spi_alloc_master(&pdev->dev, sizeof *as);
	master = spi_alloc_master(&pdev->dev, sizeof(*as));
	if (!master)
		goto out_free;