]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: sp8870: coding style fixes: newline, comments and braces
authorStefan Herdler <herdler@nurfuerspam.de>
Tue, 7 May 2024 00:24:43 +0000 (02:24 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 4 Jun 2024 14:19:55 +0000 (16:19 +0200)
commit5f0edb7a8ba01f9328b6899282ac577c15d2a6af
treea8da3eb040881c217849df2e1ec7f840e47ac453
parent5a053c05a81eb18b2393f4dd1634a3887831f037
media: sp8870: coding style fixes: newline, comments and braces

This patch fixes the following checkpatch warnings:

ERROR:OPEN_BRACE: open brace '{' following struct go on the same line
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line [*]
WARNING:LINE_SPACING: Missing a blank line after declarations
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
CHECK:LINE_SPACING: Please don't use multiple blank lines
CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations

Except the 2 comment-blocks, newline changes only.
[* The remaining trailing statement will be fixed in the logging patch.]

Signed-off-by: Stefan Herdler <herdler@nurfuerspam.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/av7110/sp8870.c
drivers/staging/media/av7110/sp8870.h