OSDN Git Service

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)
commitbb4787f520f2497ea2455bb7cd795ac96a474191
treeb90a9ed1f46c7ea4122d30a5cc87a2bb4b241dfa
parent612dc0e2e8fbc4b9e0ddbc279b77f5baf4b726d4
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