summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-05-01 17:57:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-02 17:16:27 +0200
commitd7b956b6257b20e3c65ed5877e3ac493a88350fd (patch)
treea3d56aa5906ebfc198cf5525c6b104efa03f9e6e /drivers/soundwire
parentsoundwire: bus: remove useless parentheses (diff)
downloadlinux-d7b956b6257b20e3c65ed5877e3ac493a88350fd.tar.xz
linux-d7b956b6257b20e3c65ed5877e3ac493a88350fd.zip
soundwire: bus: fix boolean comparisons
no need for an explicit test against false reported by Coccinelle Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r--drivers/soundwire/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c
index 423dc6d17999..863bf418e342 100644
--- a/drivers/soundwire/bus.c
+++ b/drivers/soundwire/bus.c
@@ -571,7 +571,7 @@ static int sdw_program_device_num(struct sdw_bus *bus)
}
}
- if (found == false) {
+ if (!found) {
/* TODO: Park this device in Group 13 */
dev_err(bus->dev, "Slave Entry not found");
}