HID: wacom: fix mistake in printk
trivial fix to spelling mistake in hid_warn warning message Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
5ac3d4ae58
commit
75a5f3ac5c
|
@ -2109,28 +2109,28 @@ static void wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field
|
||||||
return;
|
return;
|
||||||
case WACOM_HID_WD_OFFSETLEFT:
|
case WACOM_HID_WD_OFFSETLEFT:
|
||||||
if (features->offset_left && value != features->offset_left)
|
if (features->offset_left && value != features->offset_left)
|
||||||
hid_warn(hdev, "%s: overriding exising left offset "
|
hid_warn(hdev, "%s: overriding existing left offset "
|
||||||
"%d -> %d\n", __func__, value,
|
"%d -> %d\n", __func__, value,
|
||||||
features->offset_left);
|
features->offset_left);
|
||||||
features->offset_left = value;
|
features->offset_left = value;
|
||||||
return;
|
return;
|
||||||
case WACOM_HID_WD_OFFSETRIGHT:
|
case WACOM_HID_WD_OFFSETRIGHT:
|
||||||
if (features->offset_right && value != features->offset_right)
|
if (features->offset_right && value != features->offset_right)
|
||||||
hid_warn(hdev, "%s: overriding exising right offset "
|
hid_warn(hdev, "%s: overriding existing right offset "
|
||||||
"%d -> %d\n", __func__, value,
|
"%d -> %d\n", __func__, value,
|
||||||
features->offset_right);
|
features->offset_right);
|
||||||
features->offset_right = value;
|
features->offset_right = value;
|
||||||
return;
|
return;
|
||||||
case WACOM_HID_WD_OFFSETTOP:
|
case WACOM_HID_WD_OFFSETTOP:
|
||||||
if (features->offset_top && value != features->offset_top)
|
if (features->offset_top && value != features->offset_top)
|
||||||
hid_warn(hdev, "%s: overriding exising top offset "
|
hid_warn(hdev, "%s: overriding existing top offset "
|
||||||
"%d -> %d\n", __func__, value,
|
"%d -> %d\n", __func__, value,
|
||||||
features->offset_top);
|
features->offset_top);
|
||||||
features->offset_top = value;
|
features->offset_top = value;
|
||||||
return;
|
return;
|
||||||
case WACOM_HID_WD_OFFSETBOTTOM:
|
case WACOM_HID_WD_OFFSETBOTTOM:
|
||||||
if (features->offset_bottom && value != features->offset_bottom)
|
if (features->offset_bottom && value != features->offset_bottom)
|
||||||
hid_warn(hdev, "%s: overriding exising bottom offset "
|
hid_warn(hdev, "%s: overriding existing bottom offset "
|
||||||
"%d -> %d\n", __func__, value,
|
"%d -> %d\n", __func__, value,
|
||||||
features->offset_bottom);
|
features->offset_bottom);
|
||||||
features->offset_bottom = value;
|
features->offset_bottom = value;
|
||||||
|
|
Loading…
Reference in a new issue