Skip to contentSkip to conversation

iio: adc: tlc4541: remove .owner field for driver

PATCH Superseded Wei Yongjun 3 participants 5 messages Feb 6, 2017 – Mar 6, 2017 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: tlc4541: remove .owner field for driver

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/iio/adc/max11100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/max11100.c +0 -1
index a088cf9..23c060e 100644
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
 	.driver = {
 		.name	= "max11100",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(max11100_ids),
 	},
 	.probe		= max11100_probe,
#1 lore raw

The subject seems to have a copy and paste error.

Quoted 26 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/iio/adc/max11100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/max11100.c +0 -1
index a088cf9..23c060e 100644
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
 	.driver = {
 		.name	= "max11100",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(max11100_ids),
 	},
 	.probe		= max11100_probe,
#2 lore raw

PATCH v2 1/1 iio: adc: max11100: remove .owner field for driver

In reply to Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/iio/adc/max11100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/max11100.c +0 -1
index a088cf9..23c060e 100644
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
 	.driver = {
 		.name	= "max11100",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(max11100_ids),
 	},
 	.probe		= max11100_probe,
maintainer Applied
#3 lore raw

Re: [PATCH -next v2] iio: adc: max11100: remove .owner field for driver

Quoted 7 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Applied to the togreg branch of iio.git

Thanks,

Jonathan

Quoted 22 lines
---
 drivers/iio/adc/max11100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/max11100.c +0 -2
index a088cf9..23c060e 100644
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
 	.driver = {
 		.name	= "max11100",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(max11100_ids),
 	},
 	.probe		= max11100_probe,
 
--

To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#4 lore raw

Re: [PATCH -next v2] iio: adc: max11100: remove .owner field for driver

Quoted 9 lines · Jonathan Cameron
Quoted 7 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Applied to the togreg branch of iio.git

Something went wrong that day and this didn't actually end up in the tree. Have just applied it again.

Thanks,

Jonathan

Quoted 32 lines

Thanks,

Jonathan

Quoted 18 lines
---
 drivers/iio/adc/max11100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/adc/max11100.c +0 -2
index a088cf9..23c060e 100644
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
 	.driver = {
 		.name	= "max11100",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(max11100_ids),
 	},
 	.probe		= max11100_probe,
 
--
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html