Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 889c5e9b authored by Harald Geyer's avatar Harald Geyer Committed by Jonathan Cameron
Browse files

iio: dht11: whitespace changes to make checkpatch.pl --strict happy



* add spaces around binary operators in cases where it reduces readability
* align multiline statements around opening parenthesis

Reported-by: default avatarHartmut Knaack <knaack.h@gmx.de>
	in Message-ID: <55919E72.3010807@gmx.de>

Signed-off-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5e9972cd
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -46,7 +46,8 @@
 * Note that when reading the sensor actually 84 edges are detected, but
 * since the last edge is not significant, we only store 83:
 */
#define DHT11_EDGES_PER_READ (2*DHT11_BITS_PER_READ + DHT11_EDGES_PREAMBLE + 1)
#define DHT11_EDGES_PER_READ (2 * DHT11_BITS_PER_READ + \
			      DHT11_EDGES_PREAMBLE + 1)

/* Data transmission timing (nano seconds) */
#define DHT11_START_TRANSMISSION	18  /* ms */