Skip to content
Commit 85834e91 authored by Jeremy Kerr's avatar Jeremy Kerr Committed by Stefan Bader
Browse files

leds-mc13892: fix suspend/resume



BugLink: http://bugs.launchpad.net/bugs/537083

The workqueue update for the leds-mc13892 driver introduced a regression
where machine would no longer suspend and resume, as the wrong type was
being retrieved from the platform drvdata.

This change updates the suspend and resume functions to use the struct
mc13892_led type.

Signed-off-by: default avatarJeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 0fca536e
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