1
0
Fork 0

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>
hifive-unleashed-5.2
Pierre-Louis Bossart 2019-05-01 10:57:30 -05:00 committed by Greg Kroah-Hartman
parent 09830d5e34
commit d7b956b625
1 changed files with 1 additions and 1 deletions

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