]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: replace comma with a semicolon
authorArushi Singhal <arushisinghal19971997@gmail.com>
Thu, 30 Mar 2017 12:46:03 +0000 (18:16 +0530)
committerJonathan Cameron <jic23@kernel.org>
Thu, 30 Mar 2017 18:11:27 +0000 (19:11 +0100)
commitd726c79155230f8cc23fd2c78a956b99f23fdaa9
treeb90a9ed1f46c7ea4122d30a5cc87a2bb4b241dfa
parent6ad36ecb9731ff4446d3be02ced60d8f28e25a08
iio: adc: replace comma with a semicolon

Replace a comma between expression statements by a semicolon. This
changes the semantics of the code, but given the current indentation
appears to be what is intended.
A simplified version of the Coccinelle semantic patch that performs this
transformation is as follows:

// <smpl>
@r@
expression e1,e2;
@@

 e1
-,
+;
 e2;
// </smpl>

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/max11100.c