提交 d7b956b6 编写于 作者: P Pierre-Louis Bossart 提交者: Greg Kroah-Hartman

soundwire: bus: fix boolean comparisons

no need for an explicit test against false
reported by Coccinelle
Reviewed-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 09830d5e
......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册