]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/tty_io.c
device create: char: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / char / tty_io.c
index 3f48d88cffc046445202cdaece8c346cb272add7..59f472143f087d9486d62bd9f3842c2a9aee7eb6 100644 (file)
@@ -2850,7 +2850,7 @@ struct device *tty_register_device(struct tty_driver *driver, unsigned index,
        else
                tty_line_name(driver, index, name);
 
-       return device_create_drvdata(tty_class, device, dev, NULL, name);
+       return device_create(tty_class, device, dev, NULL, name);
 }
 EXPORT_SYMBOL(tty_register_device);