[spibus] small code refactoring

Merge 3 sequential printf calls into one.

Reported by:	rpokala
Reviewed by:	rpokala, adrian
Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D8795
This commit is contained in:
Michael Zhilin 2017-01-16 15:23:55 +00:00
parent ebf8934652
commit f73628e7b1

View File

@ -116,9 +116,8 @@ spibus_probe_nomatch(device_t bus, device_t child)
{
struct spibus_ivar *devi = SPIBUS_IVAR(child);
device_printf(bus, "<unknown card>");
printf(" at cs %d", devi->cs);
printf(" mode %d\n", devi->mode);
device_printf(bus, "<unknown card> at cs %d mode %d\n", devi->cs,
devi->mode);
return;
}