From: Chen Zhongjin Date: Tue, 6 Dec 2022 01:50:33 +0000 (+0800) Subject: vme: Use root_device_register() not underlined version X-Git-Tag: v6.6.7~3883^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37aa6b98237082a4bf882b4d986329b94ebd447d;p=platform%2Fkernel%2Flinux-starfive.git vme: Use root_device_register() not underlined version root_device_register and __root_device_register have exactly same effect. Use the not underlined version to keep usage consistency. Signed-off-by: Chen Zhongjin Link: https://lore.kernel.org/r/20221206015033.125827-1-chenzhongjin@huawei.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vme_user/vme_fake.c b/drivers/staging/vme_user/vme_fake.c index 6454ccf..f5d2c34 100644 --- a/drivers/staging/vme_user/vme_fake.c +++ b/drivers/staging/vme_user/vme_fake.c @@ -1069,7 +1069,7 @@ static int __init fake_init(void) struct vme_lm_resource *lm; /* We need a fake parent device */ - vme_root = __root_device_register("vme", THIS_MODULE); + vme_root = root_device_register("vme"); if (IS_ERR(vme_root)) return PTR_ERR(vme_root);