mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
HID: Intel-thc-hid: Intel-thc: Use str_true_false() helper
Remove hard-coded strings by using the str_true_false() helper function. Signed-off-by: Liu Song <liu.song13@zte.com.cn> Reviewed-by: Even Xu <even.xu@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
b80a75cf69
commit
1860b13bec
|
|
@ -4,6 +4,7 @@
|
|||
#include <linux/bitfield.h>
|
||||
#include <linux/math.h>
|
||||
#include <linux/regmap.h>
|
||||
#include <linux/string_choices.h>
|
||||
|
||||
#include "intel-thc-dev.h"
|
||||
#include "intel-thc-hw.h"
|
||||
|
|
@ -664,7 +665,7 @@ int thc_interrupt_quiesce(const struct thc_device *dev, bool int_quiesce)
|
|||
if (ret) {
|
||||
dev_err_once(dev->dev,
|
||||
"Timeout while waiting THC idle, target quiesce state = %s\n",
|
||||
int_quiesce ? "true" : "false");
|
||||
str_true_false(int_quiesce));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user