]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: wfx: don't print useless error messages
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:42 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:55:57 +0000 (15:55 +0100)
commitb025605cc4462b482db8e75dcb5019fa9a016b29
tree54fd09b1a06e3f12d80825fffb0823e0780fbdf6
parent46112d557d065f096b4ac41dae9a2be9399a6621
staging: wfx: don't print useless error messages

During chip probing, if error does not come from secure boot (for
exemple when firmware has been found), others errors probably appears.

It is not necessary to say to user that the error does not come from
secure boot. So, drop the message saying "no error reported by secure
boot".

BTW, we take the opportunity to simplify print_boot_status().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-13-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/fwio.c