Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344471
b: refs/heads/master
c: 5cce010
h: refs/heads/master
i:
  344469: 7f40bc1
  344467: a3b97de
  344463: 13104e2
v: v3
  • Loading branch information
Axel Lin authored and Bryan Wu committed Nov 26, 2012
1 parent 0d2cddb commit 9fddb09
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: 5bbf150cca196cb973e14d0a80508ba7f588dfd1
refs/heads/master: 5cce0105c8d07d3bd5f578c77d273e1a1e09f157
4 changes: 2 additions & 2 deletions trunk/drivers/leds/leds-lm3642.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static ssize_t lm3642_torch_pin_store(struct device *dev,
return ret;
}

static DEVICE_ATTR(torch_pin, 0666, NULL, lm3642_torch_pin_store);
static DEVICE_ATTR(torch_pin, S_IWUSR, NULL, lm3642_torch_pin_store);

static void lm3642_deferred_torch_brightness_set(struct work_struct *work)
{
Expand Down Expand Up @@ -264,7 +264,7 @@ static ssize_t lm3642_strobe_pin_store(struct device *dev,
return ret;
}

static DEVICE_ATTR(strobe_pin, 0666, NULL, lm3642_strobe_pin_store);
static DEVICE_ATTR(strobe_pin, S_IWUSR, NULL, lm3642_strobe_pin_store);

static void lm3642_deferred_strobe_brightness_set(struct work_struct *work)
{
Expand Down

0 comments on commit 9fddb09

Please sign in to comment.