device create: misc: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the original call to be sane. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
这个提交包含在:
@@ -1553,8 +1553,7 @@ static int __init capi_init(void)
|
||||
return PTR_ERR(capi_class);
|
||||
}
|
||||
|
||||
device_create_drvdata(capi_class, NULL, MKDEV(capi_major, 0), NULL,
|
||||
"capi");
|
||||
device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi");
|
||||
|
||||
#ifdef CONFIG_ISDN_CAPI_MIDDLEWARE
|
||||
if (capinc_tty_init() < 0) {
|
||||
|
在新工单中引用
屏蔽一个用户