]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: iio: chemical: replace comma with a semicolon
authorArushi Singhal <arushisinghal19971997@gmail.com>
Thu, 30 Mar 2017 12:41:22 +0000 (18:11 +0530)
committerJonathan Cameron <jic23@kernel.org>
Thu, 30 Mar 2017 18:13:23 +0000 (19:13 +0100)
commite1818f9ff88b9fdbf6f1b2f2915380092f069e46
treef31e3a0db03d1dd3e7fd543b397c3d5a5013ef4f
parentd726c79155230f8cc23fd2c78a956b99f23fdaa9
drivers: iio: chemical: 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/chemical/ams-iaq-core.c
drivers/iio/chemical/vz89x.c