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>
This commit is contained in:
Pierre-Louis Bossart 2019-05-01 10:57:30 -05:00 committed by Greg Kroah-Hartman
parent 09830d5e34
commit d7b956b625

View File

@ -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");
}