Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316047
b: refs/heads/master
c: 4ec141a
h: refs/heads/master
i:
  316045: a3b5642
  316043: ad1bf88
  316039: dc3e0fd
  316031: 27ec30c
v: v3
  • Loading branch information
Stefan Achatz authored and Jiri Kosina committed Jun 28, 2012
1 parent de6aa31 commit 7a3f2a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4728f2dc9f8e32ce898223fb863316ed7fa2d224
refs/heads/master: 4ec141ad4e470485803a98ddb250aa7df030e8df
6 changes: 3 additions & 3 deletions trunk/drivers/hid/hid-roccat-kone.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static int kone_check_write(struct usb_device *usb_dev)
return 0;

/* unknown answer */
hid_err(usb_dev, "got retval %d when checking write\n", data);
dev_err(&usb_dev->dev, "got retval %d when checking write\n", data);
return -EIO;
}

Expand Down Expand Up @@ -503,7 +503,7 @@ static ssize_t kone_sysfs_set_tcu(struct device *dev,

retval = kone_set_settings(usb_dev, &kone->settings);
if (retval) {
hid_err(usb_dev, "couldn't set tcu state\n");
dev_err(&usb_dev->dev, "couldn't set tcu state\n");
/*
* try to reread valid settings into buffer overwriting
* first error code
Expand All @@ -519,7 +519,7 @@ static ssize_t kone_sysfs_set_tcu(struct device *dev,

retval = size;
exit_no_settings:
hid_err(usb_dev, "couldn't read settings\n");
dev_err(&usb_dev->dev, "couldn't read settings\n");
exit_unlock:
mutex_unlock(&kone->kone_lock);
return retval;
Expand Down

0 comments on commit 7a3f2a0

Please sign in to comment.