mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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
@ -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;
|
||||
}
|
||||
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]);
|
||||
if (result)
|
||||
goto liderror;
|
||||
|
Loading…
Reference in New Issue
Block a user