Input: ucb1400_ts - set driver owner
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Jan 2012 06:18:12 +0000 (22:18 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Jan 2012 06:19:43 +0000 (22:19 -0800)
So that it has proper symlink to the containing module in sysfs.

Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ucb1400_ts.c

index dff748d43a8e183f3ad69c316ca7e6d4b79b2a70..0066568fbd7bfecb9298a3231fbdaffad7664399 100644 (file)
@@ -453,6 +453,7 @@ static struct platform_driver ucb1400_ts_driver = {
        .remove = ucb1400_ts_remove,
        .driver = {
                .name   = "ucb1400_ts",
+               .owner  = THIS_MODULE,
                .pm     = &ucb1400_ts_pm_ops,
        },
 };