diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 20:03:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 09:24:42 -0700 |
commit | 03457cd455d042c9ee4cc47c1ed4532257980693 (patch) | |
tree | de926d3e839d363f3414c06906a56d601f224e78 /drivers/char/lp.c | |
parent | 1ff9f542e5f87c299226557ce5e67a402ed4b502 (diff) | |
download | linux-03457cd455d042c9ee4cc47c1ed4532257980693.tar.gz linux-03457cd455d042c9ee4cc47c1ed4532257980693.tar.bz2 linux-03457cd455d042c9ee4cc47c1ed4532257980693.zip |
device create: char: 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>
Diffstat (limited to 'drivers/char/lp.c')
-rw-r--r-- | drivers/char/lp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 3f2719b9f77b..e444c2dba160 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c @@ -813,8 +813,8 @@ static int lp_register(int nr, struct parport *port) if (reset) lp_reset(nr); - device_create_drvdata(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, - "lp%d", nr); + device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, + "lp%d", nr); printk(KERN_INFO "lp%d: using %s (%s).\n", nr, port->name, (port->irq == PARPORT_IRQ_NONE)?"polling":"interrupt-driven"); |