Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365627
b: refs/heads/master
c: 8541b82
h: refs/heads/master
i:
  365625: 49f88fe
  365623: 51bda00
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Apr 30, 2013
1 parent 3c629ab commit 8615d25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 8ab5aa67f17dc5e18c446664b0105c45a41fec74
refs/heads/master: 8541b827451e0dd907f4a0088213b8982347ce3a
10 changes: 5 additions & 5 deletions trunk/drivers/video/backlight/adp8870_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,13 +895,13 @@ static int adp8870_probe(struct i2c_client *client,

data->bl = bl;

if (pdata->en_ambl_sens)
if (pdata->en_ambl_sens) {
ret = sysfs_create_group(&bl->dev.kobj,
&adp8870_bl_attr_group);

if (ret) {
dev_err(&client->dev, "failed to register sysfs\n");
goto out1;
if (ret) {
dev_err(&client->dev, "failed to register sysfs\n");
goto out1;
}
}

ret = adp8870_bl_setup(bl);
Expand Down

0 comments on commit 8615d25

Please sign in to comment.