Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281076
b: refs/heads/master
c: 67d6baa
h: refs/heads/master
v: v3
  • Loading branch information
Ken O'Brien authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent d50fc15 commit a9b66b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3b9cd5d114f40852ddc2dec0e167034aafe3e115
refs/heads/master: 67d6baa401e2485f6d12658b836befe1df247a04
4 changes: 2 additions & 2 deletions trunk/drivers/staging/asus_oled/asus_oled.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static ssize_t set_enabled(struct device *dev, struct device_attribute *attr,
struct usb_interface *intf = to_usb_interface(dev);
struct asus_oled_dev *odev = usb_get_intfdata(intf);
unsigned long value;
if (strict_strtoul(buf, 10, &value))
if (kstrtoul(buf, 10, &value))
return -EINVAL;

enable_oled(odev, value);
Expand All @@ -217,7 +217,7 @@ static ssize_t class_set_enabled(struct device *device,
(struct asus_oled_dev *) dev_get_drvdata(device);
unsigned long value;

if (strict_strtoul(buf, 10, &value))
if (kstrtoul(buf, 10, &value))
return -EINVAL;

enable_oled(odev, value);
Expand Down

0 comments on commit a9b66b3

Please sign in to comment.