xfree86: i2c: use LogMessageVerb() instead of xf86Msg()
Both are doing same job, so no need to keep using an duplicated implementation. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1681>
This commit is contained in:
parent
76874498be
commit
1f93ec5c33
|
@ -752,9 +752,9 @@ xf86DestroyI2CBusRec(I2CBusPtr b, Bool unalloc, Bool devs_too)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (unalloc) {
|
if (unalloc) {
|
||||||
xf86Msg(X_ERROR,
|
LogMessageVerb(X_ERROR, 1,
|
||||||
"i2c bug: Attempt to remove I2C bus \"%s\", "
|
"i2c bug: Attempt to remove I2C bus \"%s\", "
|
||||||
"but device list is not empty.\n", b->BusName);
|
"but device list is not empty.\n", b->BusName);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue