From: eric miao Date: Tue, 29 Jan 2008 00:57:45 +0000 (+0800) Subject: [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass X-Git-Tag: firefly_0821_release~23548^2^5~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=14271a705ae0fdfcb997ebed0b6e2ec6ffa58561;p=firefly-linux-kernel-4.4.55.git [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass Signed-off-by: eric miao Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/mfp.c b/arch/arm/mach-pxa/mfp.c index ec1b2d8f61c4..6ce35041c7ed 100644 --- a/arch/arm/mach-pxa/mfp.c +++ b/arch/arm/mach-pxa/mfp.c @@ -227,7 +227,7 @@ static int pxa3xx_mfp_resume(struct sys_device *d) } static struct sysdev_class mfp_sysclass = { - set_kset_name("mfp"), + .name = "mfp", .suspend = pxa3xx_mfp_suspend, .resume = pxa3xx_mfp_resume, };