Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308776
b: refs/heads/master
c: 6090885
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed May 20, 2012
1 parent f0c74d3 commit ef8844a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3770c75a6852a87afc66cd514c13899f8a288cef
refs/heads/master: 6090885597e6500f6671a0f7bab9e82dfa6f38be
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/lm3533-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static umode_t lm3533_attr_is_visible(struct kobject *kobj,
struct device_attribute *dattr = to_dev_attr(attr);
struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(dattr);
enum lm3533_attribute_type type = lattr->type;
mode_t mode = attr->mode;
umode_t mode = attr->mode;

if (!lm3533->have_backlights && type == LM3533_ATTR_TYPE_BACKLIGHT)
mode = 0;
Expand Down

0 comments on commit ef8844a

Please sign in to comment.