Re: [PATCH] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

From: Greg Kroah-Hartman
Date: Fri Jun 01 2018 - 05:16:31 EST


On Fri, Jun 01, 2018 at 12:25:43AM +0530, Sankalp Negi wrote:
> This patch fixes following checkpatch.pl issues:
>
> WARNING : line over 80 characters
> ERROR : code indent should use tabs where possible
> WARNING : no spaces at the start of a line
> ERROR : switch and case should be at the same indent
> ERROR : space required before the open parenthesis
> WARNING : braces {} are not necessary for single statement blocks

Those are all different types of coding style cleanups and should be
done as a patch series, only fixing up one "type" of thing at a time.

thanks,

greg k-h