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:
parent
09830d5e34
commit
d7b956b625
@ -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 */
|
/* TODO: Park this device in Group 13 */
|
||||||
dev_err(bus->dev, "Slave Entry not found");
|
dev_err(bus->dev, "Slave Entry not found");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user