sony-laptop: fix doesn't work lid resume settings on Vaio Pro
Signed-off-by: mog422 <admin@mog422.net> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
parent
7216e10227
commit
dc8f0315d2
1 changed files with 1 additions and 1 deletions
|
@ -2389,7 +2389,7 @@ static int sony_nc_lid_resume_setup(struct platform_device *pd,
|
||||||
lid_ctl->attrs[LID_RESUME_S3].store = sony_nc_lid_resume_store;
|
lid_ctl->attrs[LID_RESUME_S3].store = sony_nc_lid_resume_store;
|
||||||
}
|
}
|
||||||
for (i = 0; i < LID_RESUME_MAX &&
|
for (i = 0; i < LID_RESUME_MAX &&
|
||||||
lid_ctl->attrs[LID_RESUME_S3].attr.name; i++) {
|
lid_ctl->attrs[i].attr.name; i++) {
|
||||||
result = device_create_file(&pd->dev, &lid_ctl->attrs[i]);
|
result = device_create_file(&pd->dev, &lid_ctl->attrs[i]);
|
||||||
if (result)
|
if (result)
|
||||||
goto liderror;
|
goto liderror;
|
||||||
|
|
Loading…
Reference in a new issue