diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-13 14:00:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-19 21:25:10 +0200 |
commit | ff9e7621586ff8b86a18cfbb7c437c277ebc1970 (patch) | |
tree | ecf5d298044f7f80764fc297105def27b8a219ca | |
parent | staging:iio: Remove ad5930/ad9850/ad9852/ad9910/ad9951 dummy drivers (diff) | |
download | linux-ff9e7621586ff8b86a18cfbb7c437c277ebc1970.tar.xz 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>
-rw-r--r-- | drivers/iio/adc/xilinx-xadc-core.c | 1 |
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, }, }; |