[PATCH] Driver Core: fix up all callers of class_device_create()
[deliverable/linux.git] / drivers / input / tsdev.c
index 50c63a155156a36e269ee8c40f6a8536a6bb3e08..fbb35c97551b1bc3460dd31c2a588104593bcef6 100644 (file)
@@ -414,7 +414,7 @@ static struct input_handle *tsdev_connect(struct input_handler *handler,
                        S_IFCHR|S_IRUGO|S_IWUSR, "input/ts%d", minor);
        devfs_mk_cdev(MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + minor + TSDEV_MINORS/2),
                        S_IFCHR|S_IRUGO|S_IWUSR, "input/tsraw%d", minor);
-       class_device_create(input_class,
+       class_device_create(input_class, NULL,
                        MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + minor),
                        dev->dev, "ts%d", minor);
 
This page took 0.023345 seconds and 5 git commands to generate.