summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-08-13 13:00:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-08-19 20:25:10 +0100
commitff9e7621586ff8b86a18cfbb7c437c277ebc1970 (patch)
treeecf5d298044f7f80764fc297105def27b8a219ca /drivers/iio
parentc83441e0a7f45f19e8955ce45febaefa66e9e1af (diff)
downloadtalos-op-linux-ff9e7621586ff8b86a18cfbb7c437c277ebc1970.tar.gz
talos-op-linux-ff9e7621586ff8b86a18cfbb7c437c277ebc1970.zip
iio: adc: xilinx: Remove .owner field for driver
There is no need to init .owner field. Based on the patch from Peter Griffin <peter.griffin@linaro.org> "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/xilinx-xadc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c
index 196e269e48d1..5d52a3106fac 100644
--- a/drivers/iio/adc/xilinx-xadc-core.c
+++ b/drivers/iio/adc/xilinx-xadc-core.c
@@ -1326,7 +1326,6 @@ static struct platform_driver xadc_driver = {
.remove = xadc_remove,
.driver = {
.name = "xadc",
- .owner = THIS_MODULE,
.of_match_table = xadc_of_match_table,
},
};
OpenPOWER on IntegriCloud