aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch')
-rw-r--r--target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch b/target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch
new file mode 100644
index 0000000000..72fd5fcffc
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.1/0206-Input-ft6236-do-not-explicitly-set-driver-s-owner.patch
@@ -0,0 +1,24 @@
+From ee7ca2704974d5d7fc3b8f3158aaf129ae0e36e0 Mon Sep 17 00:00:00 2001
+From: Fengguang Wu <fengguang.wu@intel.com>
+Date: Tue, 6 Oct 2015 15:37:02 -0700
+Subject: [PATCH 206/222] Input: ft6236 - do not explicitly set driver's owner
+
+There is no need to explicitly set .owner for the driver, the core will do
+it for us.
+
+Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+---
+ drivers/input/touchscreen/ft6236.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/drivers/input/touchscreen/ft6236.c
++++ b/drivers/input/touchscreen/ft6236.c
+@@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id);
+ static struct i2c_driver ft6236_driver = {
+ .driver = {
+ .name = "ft6236",
+- .owner = THIS_MODULE,
+ .of_match_table = of_match_ptr(ft6236_of_match),
+ },
+ .probe = ft6236_probe,