From: Gerhard Sittig Date: Thu, 25 Feb 2021 20:31:21 +0000 (+0100) Subject: kingst-la2016: address trivial style nits (whitespace, braces, line length) X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=955ab60455d3c9d70374476acf1ecf687a481d28;hp=955ab60455d3c9d70374476acf1ecf687a481d28;p=libsigrok.git kingst-la2016: address trivial style nits (whitespace, braces, line length) Improve readability by addressing the trivial style nits in the driver. Break the channel list into two times eight instead of nine plus seven items. Put braces around all branches if one of them has braces. Add braces to multi line branches despite most of the branch just being a comment -- it's still many lines. Break extra long text lines, adjust the position of operators when single expressions span multiple lines. Drop unnecessary parentheses around single variables and auto incrementing pointer dereferences. Adjust whitespace especially for pointer data types, and arith operators. ---