mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
91bd418fdc
commit
a9b12619f7
18 changed files with 39 additions and 49 deletions
|
|
@ -362,9 +362,8 @@ static int init_coda_psdev(void)
|
|||
goto out_chrdev;
|
||||
}
|
||||
for (i = 0; i < MAX_CODADEVS; i++)
|
||||
device_create_drvdata(coda_psdev_class, NULL,
|
||||
MKDEV(CODA_PSDEV_MAJOR, i),
|
||||
NULL, "cfs%d", i);
|
||||
device_create(coda_psdev_class, NULL,
|
||||
MKDEV(CODA_PSDEV_MAJOR, i), NULL, "cfs%d", i);
|
||||
coda_sysctl_init();
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue