Commit dc8f0315 authored by mog422's avatar mog422 Committed by Matthew Garrett

sony-laptop: fix doesn't work lid resume settings on Vaio Pro

Signed-off-by: default avatarmog422 <admin@mog422.net>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 7216e102
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment