]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Input: raydium_i2c_ts - use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 6 Aug 2018 22:20:19 +0000 (15:20 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 7 Apr 2020 08:52:53 +0000 (10:52 +0200)
commit7a0afa47d1e24788800a5e9c5f0c85c9981de8b8
treec29aebc45664f3e50ad3433a3755668163c4ebe6
parentddcec30740908882f4b9592538666923204c7a53
Input: raydium_i2c_ts - use true and false for boolean values

BugLink: https://bugs.launchpad.net/bugs/1870604
[ Upstream commit 6cad4e269e25dddd7260a53e9d9d90ba3a3cc35a ]

Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/input/touchscreen/raydium_i2c_ts.c