git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device create: misc: convert device_create_drvdata to device_create
[pandora-kernel.git]
/
arch
/
mips
/
sibyte
/
common
/
sb_tbprof.c
diff --git
a/arch/mips/sibyte/common/sb_tbprof.c
b/arch/mips/sibyte/common/sb_tbprof.c
index
66e3e3f
..
637a194
100644
(file)
--- a/
arch/mips/sibyte/common/sb_tbprof.c
+++ b/
arch/mips/sibyte/common/sb_tbprof.c
@@
-576,8
+576,7
@@
static int __init sbprof_tb_init(void)
tb_class = tbc;
- dev = device_create_drvdata(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0),
- NULL, "tb");
+ dev = device_create(tbc, NULL, MKDEV(SBPROF_TB_MAJOR, 0), NULL, "tb");
if (IS_ERR(dev)) {
err = PTR_ERR(dev);
goto out_class;