Skip to content

Commit 37aa6b9

Browse files
Chen Zhongjingregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c7912f2 commit 37aa6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/vme_user/vme_fake.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ static int __init fake_init(void)
10691069
struct vme_lm_resource *lm;
10701070

10711071
/* We need a fake parent device */
1072-
vme_root = __root_device_register("vme", THIS_MODULE);
1072+
vme_root = root_device_register("vme");
10731073
if (IS_ERR(vme_root))
10741074
return PTR_ERR(vme_root);
10751075

0 commit comments

Comments
 (0)