Commit 14271a70 authored by eric miao's avatar eric miao Committed by Russell King

[ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass

Signed-off-by: default avatareric miao <eric.miao@marvell.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent ae9458d6
...@@ -227,7 +227,7 @@ static int pxa3xx_mfp_resume(struct sys_device *d) ...@@ -227,7 +227,7 @@ static int pxa3xx_mfp_resume(struct sys_device *d)
} }
static struct sysdev_class mfp_sysclass = { static struct sysdev_class mfp_sysclass = {
set_kset_name("mfp"), .name = "mfp",
.suspend = pxa3xx_mfp_suspend, .suspend = pxa3xx_mfp_suspend,
.resume = pxa3xx_mfp_resume, .resume = pxa3xx_mfp_resume,
}; };
......
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