All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:34 Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:34 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald, Greg Kroah-Hartman, Jarod Wilson,
	Mauro Carvalho Chehab, Antti Palosaari, linux-iio, devel,
	linux-kernel, linux-media
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (3):
  staging: iio: Drop owner assignment from i2c_driver
  staging: media: Drop owner assignment from i2c_driver
  staging: Drop owner assignment from i2c_driver

 drivers/staging/iio/addac/adt7316-i2c.c       | 1 -
 drivers/staging/iio/light/isl29018.c          | 1 -
 drivers/staging/iio/light/isl29028.c          | 1 -
 drivers/staging/media/lirc/lirc_zilog.c       | 1 -
 drivers/staging/media/mn88472/mn88472.c       | 1 -
 drivers/staging/media/mn88473/mn88473.c       | 1 -
 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 1 -
 7 files changed, 7 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver
  2015-07-10  6:34 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
@ 2015-07-10  6:34 ` Krzysztof Kozlowski
  2015-07-11 17:47   ` Jonathan Cameron
  2015-07-10  6:34 ` [PATCH 2/3] staging: media: " Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 3/3] staging: " Krzysztof Kozlowski
  2 siblings, 1 reply; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:34 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald, Greg Kroah-Hartman, Jarod Wilson,
	Mauro Carvalho Chehab, Antti Palosaari, linux-iio, devel,
	linux-kernel, linux-media
  Cc: Krzysztof Kozlowski

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/staging/iio/addac/adt7316-i2c.c | 1 -
 drivers/staging/iio/light/isl29018.c    | 1 -
 drivers/staging/iio/light/isl29028.c    | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c
index 75ddd4f801a3..78fe0b557280 100644
--- a/drivers/staging/iio/addac/adt7316-i2c.c
+++ b/drivers/staging/iio/addac/adt7316-i2c.c
@@ -124,7 +124,6 @@ static struct i2c_driver adt7316_driver = {
 	.driver = {
 		.name = "adt7316",
 		.pm = ADT7316_PM_OPS,
-		.owner  = THIS_MODULE,
 	},
 	.probe = adt7316_i2c_probe,
 	.id_table = adt7316_i2c_id,
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index e646c5d24004..019ba5245c23 100644
--- a/drivers/staging/iio/light/isl29018.c
+++ b/drivers/staging/iio/light/isl29018.c
@@ -838,7 +838,6 @@ static struct i2c_driver isl29018_driver = {
 			.name = "isl29018",
 			.acpi_match_table = ACPI_PTR(isl29018_acpi_match),
 			.pm = ISL29018_PM_OPS,
-			.owner = THIS_MODULE,
 			.of_match_table = isl29018_of_match,
 		    },
 	.probe	 = isl29018_probe,
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c
index e5b2fdc2334b..cd6f2727aa58 100644
--- a/drivers/staging/iio/light/isl29028.c
+++ b/drivers/staging/iio/light/isl29028.c
@@ -547,7 +547,6 @@ static struct i2c_driver isl29028_driver = {
 	.class	= I2C_CLASS_HWMON,
 	.driver  = {
 		.name = "isl29028",
-		.owner = THIS_MODULE,
 		.of_match_table = isl29028_of_match,
 	},
 	.probe	 = isl29028_probe,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH 2/3] staging: media: Drop owner assignment from i2c_driver
  2015-07-10  6:34 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver Krzysztof Kozlowski
@ 2015-07-10  6:34 ` Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 3/3] staging: " Krzysztof Kozlowski
  2 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:34 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald, Greg Kroah-Hartman, Jarod Wilson,
	Mauro Carvalho Chehab, Antti Palosaari, linux-iio, devel,
	linux-kernel, linux-media
  Cc: Krzysztof Kozlowski

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/staging/media/lirc/lirc_zilog.c | 1 -
 drivers/staging/media/mn88472/mn88472.c | 1 -
 drivers/staging/media/mn88473/mn88473.c | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c
index 261e27d6b054..d032745081ee 100644
--- a/drivers/staging/media/lirc/lirc_zilog.c
+++ b/drivers/staging/media/lirc/lirc_zilog.c
@@ -1367,7 +1367,6 @@ static const struct i2c_device_id ir_transceiver_id[] = {
 
 static struct i2c_driver driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "Zilog/Hauppauge i2c IR",
 	},
 	.probe		= ir_probe,
diff --git a/drivers/staging/media/mn88472/mn88472.c b/drivers/staging/media/mn88472/mn88472.c
index a8d45f44765c..cf2e96bcf395 100644
--- a/drivers/staging/media/mn88472/mn88472.c
+++ b/drivers/staging/media/mn88472/mn88472.c
@@ -561,7 +561,6 @@ MODULE_DEVICE_TABLE(i2c, mn88472_id_table);
 
 static struct i2c_driver mn88472_driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "mn88472",
 	},
 	.probe		= mn88472_probe,
diff --git a/drivers/staging/media/mn88473/mn88473.c b/drivers/staging/media/mn88473/mn88473.c
index f9146a146d07..a222e99935d2 100644
--- a/drivers/staging/media/mn88473/mn88473.c
+++ b/drivers/staging/media/mn88473/mn88473.c
@@ -507,7 +507,6 @@ MODULE_DEVICE_TABLE(i2c, mn88473_id_table);
 
 static struct i2c_driver mn88473_driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "mn88473",
 	},
 	.probe		= mn88473_probe,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [PATCH 3/3] staging: Drop owner assignment from i2c_driver
  2015-07-10  6:34 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver Krzysztof Kozlowski
  2015-07-10  6:34 ` [PATCH 2/3] staging: media: " Krzysztof Kozlowski
@ 2015-07-10  6:34 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:34 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald, Greg Kroah-Hartman, Jarod Wilson,
	Mauro Carvalho Chehab, Antti Palosaari, linux-iio, devel,
	linux-kernel, linux-media
  Cc: Krzysztof Kozlowski

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 0f524bb7b41d..1f9ba8beb061 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -1126,7 +1126,6 @@ MODULE_DEVICE_TABLE(i2c, synaptics_rmi4_id_table);
 static struct i2c_driver synaptics_rmi4_driver = {
 	.driver = {
 		.name	=	DRIVER_NAME,
-		.owner	=	THIS_MODULE,
 		.pm	=	&synaptics_rmi4_dev_pm_ops,
 	},
 	.probe		=	synaptics_rmi4_probe,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* Re: [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver
  2015-07-10  6:34 ` [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver Krzysztof Kozlowski
@ 2015-07-11 17:47   ` Jonathan Cameron
  0 siblings, 0 replies; 31+ messages in thread
From: Jonathan Cameron @ 2015-07-11 17:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Lars-Peter Clausen, Michael Hennerich,
	Hartmut Knaack, Peter Meerwald, Greg Kroah-Hartman, Jarod Wilson,
	Mauro Carvalho Chehab, Antti Palosaari, linux-iio, devel,
	linux-kernel, linux-media

On 10/07/15 07:34, Krzysztof Kozlowski wrote:
> i2c_driver does not need to set an owner because i2c_register_driver()
> will set it.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Applied to the togreg branch of iio.git

Thanks,

Jonathan
> 
> ---
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
>  drivers/staging/iio/addac/adt7316-i2c.c | 1 -
>  drivers/staging/iio/light/isl29018.c    | 1 -
>  drivers/staging/iio/light/isl29028.c    | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c
> index 75ddd4f801a3..78fe0b557280 100644
> --- a/drivers/staging/iio/addac/adt7316-i2c.c
> +++ b/drivers/staging/iio/addac/adt7316-i2c.c
> @@ -124,7 +124,6 @@ static struct i2c_driver adt7316_driver = {
>  	.driver = {
>  		.name = "adt7316",
>  		.pm = ADT7316_PM_OPS,
> -		.owner  = THIS_MODULE,
>  	},
>  	.probe = adt7316_i2c_probe,
>  	.id_table = adt7316_i2c_id,
> diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
> index e646c5d24004..019ba5245c23 100644
> --- a/drivers/staging/iio/light/isl29018.c
> +++ b/drivers/staging/iio/light/isl29018.c
> @@ -838,7 +838,6 @@ static struct i2c_driver isl29018_driver = {
>  			.name = "isl29018",
>  			.acpi_match_table = ACPI_PTR(isl29018_acpi_match),
>  			.pm = ISL29018_PM_OPS,
> -			.owner = THIS_MODULE,
>  			.of_match_table = isl29018_of_match,
>  		    },
>  	.probe	 = isl29018_probe,
> diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c
> index e5b2fdc2334b..cd6f2727aa58 100644
> --- a/drivers/staging/iio/light/isl29028.c
> +++ b/drivers/staging/iio/light/isl29028.c
> @@ -547,7 +547,6 @@ static struct i2c_driver isl29028_driver = {
>  	.class	= I2C_CLASS_HWMON,
>  	.driver  = {
>  		.name = "isl29028",
> -		.owner = THIS_MODULE,
>  		.of_match_table = isl29028_of_match,
>  	},
>  	.probe	 = isl29028_probe,
> 


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-10  6:37 ` Krzysztof Kozlowski
  (?)
@ 2015-08-20  8:07   ` Tomi Valkeinen
  -1 siblings, 0 replies; 31+ messages in thread
From: Tomi Valkeinen @ 2015-08-20  8:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Jean-Christophe Plagniol-Villard,
	linux-omap, linux-fbdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]



On 10/07/15 09:37, Krzysztof Kozlowski wrote:
> Hi,
> 
> 
> The i2c drivers also do not have to set 'owner' field because
> i2c_register_driver() will do it instead.
> 
> 'owner' is removed from i2c drivers, which I was able to compile
> with allyesconfig (arm, arm64, i386, x86_64, ppc64).
> Only compile-tested.
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> 
> 
> Best regards,
> Krzysztof
> 
> 
> Krzysztof Kozlowski (2):
>   video: fbdev: Drop owner assignment from i2c_driver
>   video: fbdev: Drop owner assignment from platform_driver
> 
>  drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 -
>  drivers/video/fbdev/ssd1307fb.c                         | 1 -
>  2 files changed, 2 deletions(-)
> 

Thanks, queued for 4.3.

 Tomi


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-08-20  8:07   ` Tomi Valkeinen
  0 siblings, 0 replies; 31+ messages in thread
From: Tomi Valkeinen @ 2015-08-20  8:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Jean-Christophe Plagniol-Villard,
	linux-omap, linux-fbdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]



On 10/07/15 09:37, Krzysztof Kozlowski wrote:
> Hi,
> 
> 
> The i2c drivers also do not have to set 'owner' field because
> i2c_register_driver() will do it instead.
> 
> 'owner' is removed from i2c drivers, which I was able to compile
> with allyesconfig (arm, arm64, i386, x86_64, ppc64).
> Only compile-tested.
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> 
> 
> Best regards,
> Krzysztof
> 
> 
> Krzysztof Kozlowski (2):
>   video: fbdev: Drop owner assignment from i2c_driver
>   video: fbdev: Drop owner assignment from platform_driver
> 
>  drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 -
>  drivers/video/fbdev/ssd1307fb.c                         | 1 -
>  2 files changed, 2 deletions(-)
> 

Thanks, queued for 4.3.

 Tomi


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-08-20  8:07   ` Tomi Valkeinen
  0 siblings, 0 replies; 31+ messages in thread
From: Tomi Valkeinen @ 2015-08-20  8:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Jean-Christophe Plagniol-Villard,
	linux-omap, linux-fbdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]



On 10/07/15 09:37, Krzysztof Kozlowski wrote:
> Hi,
> 
> 
> The i2c drivers also do not have to set 'owner' field because
> i2c_register_driver() will do it instead.
> 
> 'owner' is removed from i2c drivers, which I was able to compile
> with allyesconfig (arm, arm64, i386, x86_64, ppc64).
> Only compile-tested.
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> 
> 
> Best regards,
> Krzysztof
> 
> 
> Krzysztof Kozlowski (2):
>   video: fbdev: Drop owner assignment from i2c_driver
>   video: fbdev: Drop owner assignment from platform_driver
> 
>  drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 -
>  drivers/video/fbdev/ssd1307fb.c                         | 1 -
>  2 files changed, 2 deletions(-)
> 

Thanks, queued for 4.3.

 Tomi


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-10  6:39 Krzysztof Kozlowski
@ 2015-07-19 22:15 ` Alexandre Belloni
  0 siblings, 0 replies; 31+ messages in thread
From: Alexandre Belloni @ 2015-07-19 22:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Alessandro Zummo, rtc-linux, linux-kernel

Hi,

On 10/07/2015 at 15:39:49 +0900, Krzysztof Kozlowski wrote :
> The i2c drivers also do not have to set 'owner' field because
> i2c_register_driver() will do it instead.
> 
> 'owner' is removed from i2c drivers, which I was able to compile
> with allyesconfig (arm, arm64, i386, x86_64, ppc64).
> Only compile-tested.
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> 
> 
> Best regards,
> Krzysztof
> 
> 
> Krzysztof Kozlowski (2):
>   rtc: Drop owner assignment from i2c_driver
>   rtc: Drop owner assignment from platform_driver
> 

Both applied, thanks!


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-13 21:54 ` Peter Hüwe
@ 2015-07-13 22:15   ` Jason Gunthorpe
  0 siblings, 0 replies; 31+ messages in thread
From: Jason Gunthorpe @ 2015-07-13 22:15 UTC (permalink / raw)
  To: Peter Hüwe
  Cc: Krzysztof Kozlowski, linux-kernel, Corey Minyard,
	Marcel Selhorst, Jarkko Sakkinen, Christophe Ricard, tpmdd-devel

On Mon, Jul 13, 2015 at 11:54:50PM +0200, Peter Hüwe wrote:
> Am Freitag, 10. Juli 2015, 07:32:28 schrieb Krzysztof Kozlowski:
> > Hi,
> > 
> > 
> > The i2c drivers also do not have to set 'owner' field because
> > i2c_register_driver() will do it instead.
> 
> Applied - thanks.
> Will be included in the pull-request for 4.3

FWIW, this looked OK to me as well

Jason

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-10  5:32 Krzysztof Kozlowski
@ 2015-07-13 21:54 ` Peter Hüwe
  2015-07-13 22:15   ` Jason Gunthorpe
  0 siblings, 1 reply; 31+ messages in thread
From: Peter Hüwe @ 2015-07-13 21:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-kernel
  Cc: Corey Minyard, Marcel Selhorst, Jason Gunthorpe, Jarkko Sakkinen,
	Christophe Ricard, tpmdd-devel

Am Freitag, 10. Juli 2015, 07:32:28 schrieb Krzysztof Kozlowski:
> Hi,
> 
> 
> The i2c drivers also do not have to set 'owner' field because
> i2c_register_driver() will do it instead.
> 
> 'owner' is removed from i2c drivers, which I was able to compile
> with allyesconfig (arm, arm64, i386, x86_64, ppc64).
> Only compile-tested.
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> 
> 
> Best regards,
> Krzysztof
> 
> Krzysztof Kozlowski (1):
>   char: Drop owner assignment from i2c_driver
> 
>  drivers/char/ipmi/ipmi_ssif.c       | 1 -
>  drivers/char/tpm/st33zp24/i2c.c     | 1 -
>  drivers/char/tpm/tpm_i2c_atmel.c    | 1 -
>  drivers/char/tpm/tpm_i2c_infineon.c | 1 -
>  drivers/char/tpm/tpm_i2c_nuvoton.c  | 1 -
>  5 files changed, 5 deletions(-)


Applied - thanks.
Will be included in the pull-request for 4.3

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10 10:37 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10 10:37 UTC (permalink / raw)
  To: David Airlie, Mark Yao, Heiko Stuebner, dri-devel, linux-kernel,
	linux-arm-kernel, linux-rockchip
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  drm/bridge: Drop owner assignment from i2c_driver
  drm/rockchip: Drop owner assignment from platform_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10 10:37 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10 10:37 UTC (permalink / raw)
  To: David Airlie, Mark Yao, Heiko Stuebner, dri-devel, linux-kernel,
	linux-arm-kernel, linux-rockchip
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  drm/bridge: Drop owner assignment from i2c_driver
  drm/rockchip: Drop owner assignment from platform_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10 10:37 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  drm/bridge: Drop owner assignment from i2c_driver
  drm/rockchip: Drop owner assignment from platform_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:39 Krzysztof Kozlowski
  2015-07-19 22:15 ` Alexandre Belloni
  0 siblings, 1 reply; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:39 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, rtc-linux, linux-kernel
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  rtc: Drop owner assignment from i2c_driver
  rtc: Drop owner assignment from platform_driver

 drivers/rtc/rtc-ab-b5ze-s3.c | 1 -
 drivers/rtc/rtc-bq32k.c      | 1 -
 drivers/rtc/rtc-ds1307.c     | 1 -
 drivers/rtc/rtc-ds1374.c     | 1 -
 drivers/rtc/rtc-ds3232.c     | 1 -
 drivers/rtc/rtc-fm3130.c     | 1 -
 drivers/rtc/rtc-hym8563.c    | 1 -
 drivers/rtc/rtc-isl12057.c   | 1 -
 drivers/rtc/rtc-opal.c       | 1 -
 drivers/rtc/rtc-pcf2127.c    | 1 -
 drivers/rtc/rtc-pcf85063.c   | 1 -
 drivers/rtc/rtc-pcf8523.c    | 1 -
 drivers/rtc/rtc-pcf8563.c    | 1 -
 drivers/rtc/rtc-pcf8583.c    | 1 -
 drivers/rtc/rtc-rx8025.c     | 1 -
 drivers/rtc/rtc-rx8581.c     | 1 -
 16 files changed, 16 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:37 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:37 UTC (permalink / raw)
  To: Tomi Valkeinen, Jean-Christophe Plagniol-Villard, linux-omap,
	linux-fbdev, linux-kernel
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  video: fbdev: Drop owner assignment from i2c_driver
  video: fbdev: Drop owner assignment from platform_driver

 drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 -
 drivers/video/fbdev/ssd1307fb.c                         | 1 -
 2 files changed, 2 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:37 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:37 UTC (permalink / raw)
  To: Tomi Valkeinen, Jean-Christophe Plagniol-Villard, linux-omap,
	linux-fbdev, linux-kernel
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  video: fbdev: Drop owner assignment from i2c_driver
  video: fbdev: Drop owner assignment from platform_driver

 drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 -
 drivers/video/fbdev/ssd1307fb.c                         | 1 -
 2 files changed, 2 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:36 Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Ralf Baechle,
	Krzysztof Kozlowski, Paul Burton, linux-serial, linux-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  tty: serial: Drop owner assignment from platform_driver
  tty: serial: Drop owner assignment from i2c_driver

 drivers/tty/serial/8250/8250_ingenic.c | 1 -
 drivers/tty/serial/sc16is7xx.c         | 1 -
 2 files changed, 2 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:19 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:19 UTC (permalink / raw)
  To: Antti Palosaari, Mauro Carvalho Chehab, Olli Salonen,
	Lars-Peter Clausen, Hans Verkuil, Jonathan Corbet, linux-media,
	linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (7):
  [media] dvb-frontends: Drop owner assignment from i2c_driver
  [media] dvb-frontends: Drop owner assignment from platform_driver
  [media] i2c: Drop owner assignment from i2c_driver
  [media] platform: Drop owner assignment from i2c_driver
  [media] radio: Drop owner assignment from i2c_driver
  [media] tuners: Drop owner assignment from i2c_driver
  [media] Drop owner assignment from i2c_driver

 drivers/media/dvb-frontends/a8293.c          | 1 -
 drivers/media/dvb-frontends/af9033.c         | 1 -
 drivers/media/dvb-frontends/au8522_decoder.c | 1 -
 drivers/media/dvb-frontends/m88ds3103.c      | 1 -
 drivers/media/dvb-frontends/rtl2830.c        | 1 -
 drivers/media/dvb-frontends/rtl2832.c        | 1 -
 drivers/media/dvb-frontends/rtl2832_sdr.c    | 1 -
 drivers/media/dvb-frontends/si2168.c         | 1 -
 drivers/media/dvb-frontends/sp2.c            | 1 -
 drivers/media/dvb-frontends/tda10071.c       | 1 -
 drivers/media/dvb-frontends/ts2020.c         | 1 -
 drivers/media/i2c/adv7170.c                  | 1 -
 drivers/media/i2c/adv7175.c                  | 1 -
 drivers/media/i2c/adv7180.c                  | 1 -
 drivers/media/i2c/adv7343.c                  | 1 -
 drivers/media/i2c/adv7511.c                  | 1 -
 drivers/media/i2c/adv7604.c                  | 1 -
 drivers/media/i2c/adv7842.c                  | 1 -
 drivers/media/i2c/bt819.c                    | 1 -
 drivers/media/i2c/bt856.c                    | 1 -
 drivers/media/i2c/bt866.c                    | 1 -
 drivers/media/i2c/cs5345.c                   | 1 -
 drivers/media/i2c/cs53l32a.c                 | 1 -
 drivers/media/i2c/cx25840/cx25840-core.c     | 1 -
 drivers/media/i2c/ks0127.c                   | 1 -
 drivers/media/i2c/m52790.c                   | 1 -
 drivers/media/i2c/msp3400-driver.c           | 1 -
 drivers/media/i2c/mt9v011.c                  | 1 -
 drivers/media/i2c/ov7640.c                   | 1 -
 drivers/media/i2c/ov7670.c                   | 1 -
 drivers/media/i2c/saa6588.c                  | 1 -
 drivers/media/i2c/saa6752hs.c                | 1 -
 drivers/media/i2c/saa7110.c                  | 1 -
 drivers/media/i2c/saa7115.c                  | 1 -
 drivers/media/i2c/saa7127.c                  | 1 -
 drivers/media/i2c/saa717x.c                  | 1 -
 drivers/media/i2c/saa7185.c                  | 1 -
 drivers/media/i2c/sony-btf-mpx.c             | 1 -
 drivers/media/i2c/tda7432.c                  | 1 -
 drivers/media/i2c/tda9840.c                  | 1 -
 drivers/media/i2c/tea6415c.c                 | 1 -
 drivers/media/i2c/tea6420.c                  | 1 -
 drivers/media/i2c/ths7303.c                  | 1 -
 drivers/media/i2c/tvaudio.c                  | 1 -
 drivers/media/i2c/tvp5150.c                  | 1 -
 drivers/media/i2c/tw9903.c                   | 1 -
 drivers/media/i2c/tw9906.c                   | 1 -
 drivers/media/i2c/upd64031a.c                | 1 -
 drivers/media/i2c/upd64083.c                 | 1 -
 drivers/media/i2c/vp27smpx.c                 | 1 -
 drivers/media/i2c/vpx3220.c                  | 1 -
 drivers/media/i2c/wm8739.c                   | 1 -
 drivers/media/i2c/wm8775.c                   | 1 -
 drivers/media/platform/s5p-tv/hdmiphy_drv.c  | 1 -
 drivers/media/platform/s5p-tv/sii9234_drv.c  | 1 -
 drivers/media/radio/radio-tea5764.c          | 1 -
 drivers/media/radio/saa7706h.c               | 1 -
 drivers/media/radio/tef6862.c                | 1 -
 drivers/media/tuners/e4000.c                 | 1 -
 drivers/media/tuners/fc2580.c                | 1 -
 drivers/media/tuners/it913x.c                | 1 -
 drivers/media/tuners/m88rs6000t.c            | 1 -
 drivers/media/tuners/si2157.c                | 1 -
 drivers/media/tuners/tda18212.c              | 1 -
 drivers/media/tuners/tua9001.c               | 1 -
 drivers/media/usb/go7007/s2250-board.c       | 1 -
 drivers/media/v4l2-core/tuner-core.c         | 1 -
 67 files changed, 67 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:19 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (7):
  [media] dvb-frontends: Drop owner assignment from i2c_driver
  [media] dvb-frontends: Drop owner assignment from platform_driver
  [media] i2c: Drop owner assignment from i2c_driver
  [media] platform: Drop owner assignment from i2c_driver
  [media] radio: Drop owner assignment from i2c_driver
  [media] tuners: Drop owner assignment from i2c_driver
  [media] Drop owner assignment from i2c_driver

 drivers/media/dvb-frontends/a8293.c          | 1 -
 drivers/media/dvb-frontends/af9033.c         | 1 -
 drivers/media/dvb-frontends/au8522_decoder.c | 1 -
 drivers/media/dvb-frontends/m88ds3103.c      | 1 -
 drivers/media/dvb-frontends/rtl2830.c        | 1 -
 drivers/media/dvb-frontends/rtl2832.c        | 1 -
 drivers/media/dvb-frontends/rtl2832_sdr.c    | 1 -
 drivers/media/dvb-frontends/si2168.c         | 1 -
 drivers/media/dvb-frontends/sp2.c            | 1 -
 drivers/media/dvb-frontends/tda10071.c       | 1 -
 drivers/media/dvb-frontends/ts2020.c         | 1 -
 drivers/media/i2c/adv7170.c                  | 1 -
 drivers/media/i2c/adv7175.c                  | 1 -
 drivers/media/i2c/adv7180.c                  | 1 -
 drivers/media/i2c/adv7343.c                  | 1 -
 drivers/media/i2c/adv7511.c                  | 1 -
 drivers/media/i2c/adv7604.c                  | 1 -
 drivers/media/i2c/adv7842.c                  | 1 -
 drivers/media/i2c/bt819.c                    | 1 -
 drivers/media/i2c/bt856.c                    | 1 -
 drivers/media/i2c/bt866.c                    | 1 -
 drivers/media/i2c/cs5345.c                   | 1 -
 drivers/media/i2c/cs53l32a.c                 | 1 -
 drivers/media/i2c/cx25840/cx25840-core.c     | 1 -
 drivers/media/i2c/ks0127.c                   | 1 -
 drivers/media/i2c/m52790.c                   | 1 -
 drivers/media/i2c/msp3400-driver.c           | 1 -
 drivers/media/i2c/mt9v011.c                  | 1 -
 drivers/media/i2c/ov7640.c                   | 1 -
 drivers/media/i2c/ov7670.c                   | 1 -
 drivers/media/i2c/saa6588.c                  | 1 -
 drivers/media/i2c/saa6752hs.c                | 1 -
 drivers/media/i2c/saa7110.c                  | 1 -
 drivers/media/i2c/saa7115.c                  | 1 -
 drivers/media/i2c/saa7127.c                  | 1 -
 drivers/media/i2c/saa717x.c                  | 1 -
 drivers/media/i2c/saa7185.c                  | 1 -
 drivers/media/i2c/sony-btf-mpx.c             | 1 -
 drivers/media/i2c/tda7432.c                  | 1 -
 drivers/media/i2c/tda9840.c                  | 1 -
 drivers/media/i2c/tea6415c.c                 | 1 -
 drivers/media/i2c/tea6420.c                  | 1 -
 drivers/media/i2c/ths7303.c                  | 1 -
 drivers/media/i2c/tvaudio.c                  | 1 -
 drivers/media/i2c/tvp5150.c                  | 1 -
 drivers/media/i2c/tw9903.c                   | 1 -
 drivers/media/i2c/tw9906.c                   | 1 -
 drivers/media/i2c/upd64031a.c                | 1 -
 drivers/media/i2c/upd64083.c                 | 1 -
 drivers/media/i2c/vp27smpx.c                 | 1 -
 drivers/media/i2c/vpx3220.c                  | 1 -
 drivers/media/i2c/wm8739.c                   | 1 -
 drivers/media/i2c/wm8775.c                   | 1 -
 drivers/media/platform/s5p-tv/hdmiphy_drv.c  | 1 -
 drivers/media/platform/s5p-tv/sii9234_drv.c  | 1 -
 drivers/media/radio/radio-tea5764.c          | 1 -
 drivers/media/radio/saa7706h.c               | 1 -
 drivers/media/radio/tef6862.c                | 1 -
 drivers/media/tuners/e4000.c                 | 1 -
 drivers/media/tuners/fc2580.c                | 1 -
 drivers/media/tuners/it913x.c                | 1 -
 drivers/media/tuners/m88rs6000t.c            | 1 -
 drivers/media/tuners/si2157.c                | 1 -
 drivers/media/tuners/tda18212.c              | 1 -
 drivers/media/tuners/tua9001.c               | 1 -
 drivers/media/usb/go7007/s2250-board.c       | 1 -
 drivers/media/v4l2-core/tuner-core.c         | 1 -
 67 files changed, 67 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:43 Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:43 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Support Opensource, linux-kernel
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (2):
  regulator: Drop owner assignment from i2c_driver
  regulator: Drop owner assignment from platform_driver

 drivers/regulator/act8865-regulator.c  | 1 -
 drivers/regulator/da9062-regulator.c   | 1 -
 drivers/regulator/da9210-regulator.c   | 1 -
 drivers/regulator/da9211-regulator.c   | 1 -
 drivers/regulator/isl6271a-regulator.c | 1 -
 drivers/regulator/isl9305.c            | 1 -
 drivers/regulator/lp3971.c             | 1 -
 drivers/regulator/lp3972.c             | 1 -
 drivers/regulator/lp872x.c             | 1 -
 drivers/regulator/ltc3589.c            | 1 -
 drivers/regulator/max1586.c            | 1 -
 drivers/regulator/max8660.c            | 1 -
 drivers/regulator/max8973-regulator.c  | 1 -
 drivers/regulator/pfuze100-regulator.c | 1 -
 drivers/regulator/tps51632-regulator.c | 1 -
 drivers/regulator/tps62360-regulator.c | 1 -
 drivers/regulator/tps65023-regulator.c | 1 -
 17 files changed, 17 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:36 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:36 UTC (permalink / raw)
  To: David Airlie, Mark Yao, Heiko Stuebner, dri-devel, linux-kernel,
	linux-arm-kernel, linux-rockchip
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (1):
  drm: Drop owner assignment from i2c_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:36 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:36 UTC (permalink / raw)
  To: David Airlie, Mark Yao, Heiko Stuebner, dri-devel, linux-kernel,
	linux-arm-kernel, linux-rockchip
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (1):
  drm: Drop owner assignment from i2c_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:36 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (1):
  drm: Drop owner assignment from i2c_driver

 drivers/gpu/drm/bridge/ps8622.c             | 1 -
 drivers/gpu/drm/bridge/ptn3460.c            | 1 -
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 -
 3 files changed, 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:32 Krzysztof Kozlowski
  2015-07-13 21:54 ` Peter Hüwe
  0 siblings, 1 reply; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:32 UTC (permalink / raw)
  To: Corey Minyard, Peter Huewe, Marcel Selhorst, Jason Gunthorpe,
	Jarkko Sakkinen, Christophe Ricard, Krzysztof Kozlowski,
	openipmi-developer, linux-kernel, tpmdd-devel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (1):
  char: Drop owner assignment from i2c_driver

 drivers/char/ipmi/ipmi_ssif.c       | 1 -
 drivers/char/tpm/st33zp24/i2c.c     | 1 -
 drivers/char/tpm/tpm_i2c_atmel.c    | 1 -
 drivers/char/tpm/tpm_i2c_infineon.c | 1 -
 drivers/char/tpm/tpm_i2c_nuvoton.c  | 1 -
 5 files changed, 5 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:30 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:30 UTC (permalink / raw)
  To: Lars-Peter Clausen, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Brian Austin, Paul Handrigan, Support Opensource,
	M R Swami Reddy, Vishwas A Deshpande, Bard Liao, Oder Chiou,
	Peter Rosin, Matthias Brugger, alsa-devel, linux-kernel, patches,
	linux-arm-kernel, linux-mediatek
  Cc: Krzysztof Kozlowski

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  ASoC: Drop owner assignment from i2c_driver
  ASoC: Drop owner assignment from platform_driver

 sound/soc/codecs/adau1373.c               | 1 -
 sound/soc/codecs/adau1701.c               | 1 -
 sound/soc/codecs/adau1761-i2c.c           | 1 -
 sound/soc/codecs/adau1781-i2c.c           | 1 -
 sound/soc/codecs/adau1977-i2c.c           | 1 -
 sound/soc/codecs/adav803.c                | 1 -
 sound/soc/codecs/ak4535.c                 | 1 -
 sound/soc/codecs/ak4641.c                 | 1 -
 sound/soc/codecs/ak4642.c                 | 1 -
 sound/soc/codecs/ak4671.c                 | 1 -
 sound/soc/codecs/alc5623.c                | 1 -
 sound/soc/codecs/alc5632.c                | 1 -
 sound/soc/codecs/cs35l32.c                | 1 -
 sound/soc/codecs/cs4265.c                 | 1 -
 sound/soc/codecs/cs4270.c                 | 1 -
 sound/soc/codecs/cs4271-i2c.c             | 1 -
 sound/soc/codecs/cs42l51-i2c.c            | 1 -
 sound/soc/codecs/cs42l52.c                | 1 -
 sound/soc/codecs/cs42l56.c                | 1 -
 sound/soc/codecs/cs42l73.c                | 1 -
 sound/soc/codecs/cs42xx8-i2c.c            | 1 -
 sound/soc/codecs/da7210.c                 | 1 -
 sound/soc/codecs/da7213.c                 | 1 -
 sound/soc/codecs/da732x.c                 | 1 -
 sound/soc/codecs/da9055.c                 | 1 -
 sound/soc/codecs/isabelle.c               | 1 -
 sound/soc/codecs/lm4857.c                 | 1 -
 sound/soc/codecs/lm49453.c                | 1 -
 sound/soc/codecs/max9768.c                | 1 -
 sound/soc/codecs/max98088.c               | 1 -
 sound/soc/codecs/max98090.c               | 1 -
 sound/soc/codecs/max98095.c               | 1 -
 sound/soc/codecs/max9850.c                | 1 -
 sound/soc/codecs/max9877.c                | 1 -
 sound/soc/codecs/max98925.c               | 1 -
 sound/soc/codecs/ml26124.c                | 1 -
 sound/soc/codecs/pcm1681.c                | 1 -
 sound/soc/codecs/pcm512x-i2c.c            | 1 -
 sound/soc/codecs/rt286.c                  | 1 -
 sound/soc/codecs/rt5631.c                 | 1 -
 sound/soc/codecs/rt5640.c                 | 1 -
 sound/soc/codecs/rt5645.c                 | 1 -
 sound/soc/codecs/rt5651.c                 | 1 -
 sound/soc/codecs/rt5670.c                 | 1 -
 sound/soc/codecs/rt5677.c                 | 1 -
 sound/soc/codecs/sgtl5000.c               | 1 -
 sound/soc/codecs/ssm2518.c                | 1 -
 sound/soc/codecs/ssm2602-i2c.c            | 1 -
 sound/soc/codecs/ssm4567.c                | 1 -
 sound/soc/codecs/sta32x.c                 | 1 -
 sound/soc/codecs/sta350.c                 | 1 -
 sound/soc/codecs/sta529.c                 | 1 -
 sound/soc/codecs/tas2552.c                | 1 -
 sound/soc/codecs/tas5086.c                | 1 -
 sound/soc/codecs/tfa9879.c                | 1 -
 sound/soc/codecs/tlv320aic31xx.c          | 1 -
 sound/soc/codecs/tlv320aic32x4.c          | 1 -
 sound/soc/codecs/tlv320aic3x.c            | 1 -
 sound/soc/codecs/tlv320dac33.c            | 1 -
 sound/soc/codecs/tpa6130a2.c              | 1 -
 sound/soc/codecs/ts3a227e.c               | 1 -
 sound/soc/codecs/uda1380.c                | 1 -
 sound/soc/codecs/wm1250-ev1.c             | 1 -
 sound/soc/codecs/wm2000.c                 | 1 -
 sound/soc/codecs/wm2200.c                 | 1 -
 sound/soc/codecs/wm5100.c                 | 1 -
 sound/soc/codecs/wm8510.c                 | 1 -
 sound/soc/codecs/wm8523.c                 | 1 -
 sound/soc/codecs/wm8580.c                 | 1 -
 sound/soc/codecs/wm8711.c                 | 1 -
 sound/soc/codecs/wm8728.c                 | 1 -
 sound/soc/codecs/wm8731.c                 | 1 -
 sound/soc/codecs/wm8737.c                 | 1 -
 sound/soc/codecs/wm8741.c                 | 1 -
 sound/soc/codecs/wm8750.c                 | 1 -
 sound/soc/codecs/wm8753.c                 | 1 -
 sound/soc/codecs/wm8776.c                 | 1 -
 sound/soc/codecs/wm8804-i2c.c             | 1 -
 sound/soc/codecs/wm8900.c                 | 1 -
 sound/soc/codecs/wm8903.c                 | 1 -
 sound/soc/codecs/wm8904.c                 | 1 -
 sound/soc/codecs/wm8940.c                 | 1 -
 sound/soc/codecs/wm8955.c                 | 1 -
 sound/soc/codecs/wm8960.c                 | 1 -
 sound/soc/codecs/wm8961.c                 | 1 -
 sound/soc/codecs/wm8962.c                 | 1 -
 sound/soc/codecs/wm8971.c                 | 1 -
 sound/soc/codecs/wm8974.c                 | 1 -
 sound/soc/codecs/wm8978.c                 | 1 -
 sound/soc/codecs/wm8983.c                 | 1 -
 sound/soc/codecs/wm8985.c                 | 1 -
 sound/soc/codecs/wm8988.c                 | 1 -
 sound/soc/codecs/wm8990.c                 | 1 -
 sound/soc/codecs/wm8991.c                 | 1 -
 sound/soc/codecs/wm8993.c                 | 1 -
 sound/soc/codecs/wm8995.c                 | 1 -
 sound/soc/codecs/wm8996.c                 | 1 -
 sound/soc/codecs/wm9081.c                 | 1 -
 sound/soc/codecs/wm9090.c                 | 1 -
 sound/soc/mediatek/mt8173-max98090.c      | 1 -
 sound/soc/mediatek/mt8173-rt5650-rt5676.c | 1 -
 sound/soc/mediatek/mtk-afe-pcm.c          | 1 -
 102 files changed, 102 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:30 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  ASoC: Drop owner assignment from i2c_driver
  ASoC: Drop owner assignment from platform_driver

 sound/soc/codecs/adau1373.c               | 1 -
 sound/soc/codecs/adau1701.c               | 1 -
 sound/soc/codecs/adau1761-i2c.c           | 1 -
 sound/soc/codecs/adau1781-i2c.c           | 1 -
 sound/soc/codecs/adau1977-i2c.c           | 1 -
 sound/soc/codecs/adav803.c                | 1 -
 sound/soc/codecs/ak4535.c                 | 1 -
 sound/soc/codecs/ak4641.c                 | 1 -
 sound/soc/codecs/ak4642.c                 | 1 -
 sound/soc/codecs/ak4671.c                 | 1 -
 sound/soc/codecs/alc5623.c                | 1 -
 sound/soc/codecs/alc5632.c                | 1 -
 sound/soc/codecs/cs35l32.c                | 1 -
 sound/soc/codecs/cs4265.c                 | 1 -
 sound/soc/codecs/cs4270.c                 | 1 -
 sound/soc/codecs/cs4271-i2c.c             | 1 -
 sound/soc/codecs/cs42l51-i2c.c            | 1 -
 sound/soc/codecs/cs42l52.c                | 1 -
 sound/soc/codecs/cs42l56.c                | 1 -
 sound/soc/codecs/cs42l73.c                | 1 -
 sound/soc/codecs/cs42xx8-i2c.c            | 1 -
 sound/soc/codecs/da7210.c                 | 1 -
 sound/soc/codecs/da7213.c                 | 1 -
 sound/soc/codecs/da732x.c                 | 1 -
 sound/soc/codecs/da9055.c                 | 1 -
 sound/soc/codecs/isabelle.c               | 1 -
 sound/soc/codecs/lm4857.c                 | 1 -
 sound/soc/codecs/lm49453.c                | 1 -
 sound/soc/codecs/max9768.c                | 1 -
 sound/soc/codecs/max98088.c               | 1 -
 sound/soc/codecs/max98090.c               | 1 -
 sound/soc/codecs/max98095.c               | 1 -
 sound/soc/codecs/max9850.c                | 1 -
 sound/soc/codecs/max9877.c                | 1 -
 sound/soc/codecs/max98925.c               | 1 -
 sound/soc/codecs/ml26124.c                | 1 -
 sound/soc/codecs/pcm1681.c                | 1 -
 sound/soc/codecs/pcm512x-i2c.c            | 1 -
 sound/soc/codecs/rt286.c                  | 1 -
 sound/soc/codecs/rt5631.c                 | 1 -
 sound/soc/codecs/rt5640.c                 | 1 -
 sound/soc/codecs/rt5645.c                 | 1 -
 sound/soc/codecs/rt5651.c                 | 1 -
 sound/soc/codecs/rt5670.c                 | 1 -
 sound/soc/codecs/rt5677.c                 | 1 -
 sound/soc/codecs/sgtl5000.c               | 1 -
 sound/soc/codecs/ssm2518.c                | 1 -
 sound/soc/codecs/ssm2602-i2c.c            | 1 -
 sound/soc/codecs/ssm4567.c                | 1 -
 sound/soc/codecs/sta32x.c                 | 1 -
 sound/soc/codecs/sta350.c                 | 1 -
 sound/soc/codecs/sta529.c                 | 1 -
 sound/soc/codecs/tas2552.c                | 1 -
 sound/soc/codecs/tas5086.c                | 1 -
 sound/soc/codecs/tfa9879.c                | 1 -
 sound/soc/codecs/tlv320aic31xx.c          | 1 -
 sound/soc/codecs/tlv320aic32x4.c          | 1 -
 sound/soc/codecs/tlv320aic3x.c            | 1 -
 sound/soc/codecs/tlv320dac33.c            | 1 -
 sound/soc/codecs/tpa6130a2.c              | 1 -
 sound/soc/codecs/ts3a227e.c               | 1 -
 sound/soc/codecs/uda1380.c                | 1 -
 sound/soc/codecs/wm1250-ev1.c             | 1 -
 sound/soc/codecs/wm2000.c                 | 1 -
 sound/soc/codecs/wm2200.c                 | 1 -
 sound/soc/codecs/wm5100.c                 | 1 -
 sound/soc/codecs/wm8510.c                 | 1 -
 sound/soc/codecs/wm8523.c                 | 1 -
 sound/soc/codecs/wm8580.c                 | 1 -
 sound/soc/codecs/wm8711.c                 | 1 -
 sound/soc/codecs/wm8728.c                 | 1 -
 sound/soc/codecs/wm8731.c                 | 1 -
 sound/soc/codecs/wm8737.c                 | 1 -
 sound/soc/codecs/wm8741.c                 | 1 -
 sound/soc/codecs/wm8750.c                 | 1 -
 sound/soc/codecs/wm8753.c                 | 1 -
 sound/soc/codecs/wm8776.c                 | 1 -
 sound/soc/codecs/wm8804-i2c.c             | 1 -
 sound/soc/codecs/wm8900.c                 | 1 -
 sound/soc/codecs/wm8903.c                 | 1 -
 sound/soc/codecs/wm8904.c                 | 1 -
 sound/soc/codecs/wm8940.c                 | 1 -
 sound/soc/codecs/wm8955.c                 | 1 -
 sound/soc/codecs/wm8960.c                 | 1 -
 sound/soc/codecs/wm8961.c                 | 1 -
 sound/soc/codecs/wm8962.c                 | 1 -
 sound/soc/codecs/wm8971.c                 | 1 -
 sound/soc/codecs/wm8974.c                 | 1 -
 sound/soc/codecs/wm8978.c                 | 1 -
 sound/soc/codecs/wm8983.c                 | 1 -
 sound/soc/codecs/wm8985.c                 | 1 -
 sound/soc/codecs/wm8988.c                 | 1 -
 sound/soc/codecs/wm8990.c                 | 1 -
 sound/soc/codecs/wm8991.c                 | 1 -
 sound/soc/codecs/wm8993.c                 | 1 -
 sound/soc/codecs/wm8995.c                 | 1 -
 sound/soc/codecs/wm8996.c                 | 1 -
 sound/soc/codecs/wm9081.c                 | 1 -
 sound/soc/codecs/wm9090.c                 | 1 -
 sound/soc/mediatek/mt8173-max98090.c      | 1 -
 sound/soc/mediatek/mt8173-rt5650-rt5676.c | 1 -
 sound/soc/mediatek/mtk-afe-pcm.c          | 1 -
 102 files changed, 102 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:05 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:05 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, Linus Walleij, Michael Hennerich,
	Support Opensource, Milo Kim, Chanwoo Choi, Krzysztof Kozlowski,
	Tony Lindgren, Sangbeom Kim, linux-kernel, linux-arm-kernel,
	patches, linux-omap, linux-samsung-soc

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (1):
  mfd: Drop owner assignment from i2c_drivers

 drivers/mfd/88pm800.c             | 1 -
 drivers/mfd/88pm805.c             | 1 -
 drivers/mfd/88pm860x-core.c       | 1 -
 drivers/mfd/aat2870-core.c        | 1 -
 drivers/mfd/ab3100-core.c         | 1 -
 drivers/mfd/adp5520.c             | 1 -
 drivers/mfd/arizona-i2c.c         | 1 -
 drivers/mfd/as3711.c              | 1 -
 drivers/mfd/as3722.c              | 1 -
 drivers/mfd/axp20x.c              | 1 -
 drivers/mfd/bcm590xx.c            | 1 -
 drivers/mfd/cros_ec_i2c.c         | 1 -
 drivers/mfd/da903x.c              | 1 -
 drivers/mfd/da9052-i2c.c          | 1 -
 drivers/mfd/da9055-i2c.c          | 1 -
 drivers/mfd/da9063-i2c.c          | 1 -
 drivers/mfd/intel_soc_pmic_core.c | 1 -
 drivers/mfd/lm3533-core.c         | 1 -
 drivers/mfd/lp3943.c              | 1 -
 drivers/mfd/lp8788.c              | 1 -
 drivers/mfd/max14577.c            | 1 -
 drivers/mfd/max77686.c            | 1 -
 drivers/mfd/max77693.c            | 1 -
 drivers/mfd/max8907.c             | 1 -
 drivers/mfd/max8925-i2c.c         | 1 -
 drivers/mfd/max8997.c             | 1 -
 drivers/mfd/max8998.c             | 1 -
 drivers/mfd/mc13xxx-i2c.c         | 1 -
 drivers/mfd/palmas.c              | 1 -
 drivers/mfd/rc5t583.c             | 1 -
 drivers/mfd/retu-mfd.c            | 1 -
 drivers/mfd/sec-core.c            | 1 -
 drivers/mfd/si476x-i2c.c          | 1 -
 drivers/mfd/smsc-ece1099.c        | 1 -
 drivers/mfd/stmpe-i2c.c           | 1 -
 drivers/mfd/tc3589x.c             | 1 -
 drivers/mfd/tps6507x.c            | 1 -
 drivers/mfd/tps65090.c            | 1 -
 drivers/mfd/tps65217.c            | 1 -
 drivers/mfd/tps65218.c            | 1 -
 drivers/mfd/tps6586x.c            | 1 -
 drivers/mfd/tps65910.c            | 1 -
 drivers/mfd/tps65912-i2c.c        | 1 -
 drivers/mfd/tps80031.c            | 1 -
 drivers/mfd/twl6040.c             | 1 -
 drivers/mfd/wm831x-i2c.c          | 1 -
 drivers/mfd/wm8350-i2c.c          | 1 -
 drivers/mfd/wm8400-core.c         | 1 -
 drivers/mfd/wm8994-core.c         | 1 -
 49 files changed, 49 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:05 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (1):
  mfd: Drop owner assignment from i2c_drivers

 drivers/mfd/88pm800.c             | 1 -
 drivers/mfd/88pm805.c             | 1 -
 drivers/mfd/88pm860x-core.c       | 1 -
 drivers/mfd/aat2870-core.c        | 1 -
 drivers/mfd/ab3100-core.c         | 1 -
 drivers/mfd/adp5520.c             | 1 -
 drivers/mfd/arizona-i2c.c         | 1 -
 drivers/mfd/as3711.c              | 1 -
 drivers/mfd/as3722.c              | 1 -
 drivers/mfd/axp20x.c              | 1 -
 drivers/mfd/bcm590xx.c            | 1 -
 drivers/mfd/cros_ec_i2c.c         | 1 -
 drivers/mfd/da903x.c              | 1 -
 drivers/mfd/da9052-i2c.c          | 1 -
 drivers/mfd/da9055-i2c.c          | 1 -
 drivers/mfd/da9063-i2c.c          | 1 -
 drivers/mfd/intel_soc_pmic_core.c | 1 -
 drivers/mfd/lm3533-core.c         | 1 -
 drivers/mfd/lp3943.c              | 1 -
 drivers/mfd/lp8788.c              | 1 -
 drivers/mfd/max14577.c            | 1 -
 drivers/mfd/max77686.c            | 1 -
 drivers/mfd/max77693.c            | 1 -
 drivers/mfd/max8907.c             | 1 -
 drivers/mfd/max8925-i2c.c         | 1 -
 drivers/mfd/max8997.c             | 1 -
 drivers/mfd/max8998.c             | 1 -
 drivers/mfd/mc13xxx-i2c.c         | 1 -
 drivers/mfd/palmas.c              | 1 -
 drivers/mfd/rc5t583.c             | 1 -
 drivers/mfd/retu-mfd.c            | 1 -
 drivers/mfd/sec-core.c            | 1 -
 drivers/mfd/si476x-i2c.c          | 1 -
 drivers/mfd/smsc-ece1099.c        | 1 -
 drivers/mfd/stmpe-i2c.c           | 1 -
 drivers/mfd/tc3589x.c             | 1 -
 drivers/mfd/tps6507x.c            | 1 -
 drivers/mfd/tps65090.c            | 1 -
 drivers/mfd/tps65217.c            | 1 -
 drivers/mfd/tps65218.c            | 1 -
 drivers/mfd/tps6586x.c            | 1 -
 drivers/mfd/tps65910.c            | 1 -
 drivers/mfd/tps65912-i2c.c        | 1 -
 drivers/mfd/tps80031.c            | 1 -
 drivers/mfd/twl6040.c             | 1 -
 drivers/mfd/wm831x-i2c.c          | 1 -
 drivers/mfd/wm8350-i2c.c          | 1 -
 drivers/mfd/wm8400-core.c         | 1 -
 drivers/mfd/wm8994-core.c         | 1 -
 49 files changed, 49 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:04 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:04 UTC (permalink / raw)
  To: Kukjin Kim, Krzysztof Kozlowski, linux-arm-kernel,
	linux-samsung-soc, linux-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (1):
  ARM: EXYNOS: pmu: Drop owner assignment

 arch/arm/mach-exynos/pmu.c | 1 -
 1 file changed, 1 deletion(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:04 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof

Krzysztof Kozlowski (1):
  ARM: EXYNOS: pmu: Drop owner assignment

 arch/arm/mach-exynos/pmu.c | 1 -
 1 file changed, 1 deletion(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2015-08-20  8:07 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  6:34 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
2015-07-10  6:34 ` [PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver Krzysztof Kozlowski
2015-07-11 17:47   ` Jonathan Cameron
2015-07-10  6:34 ` [PATCH 2/3] staging: media: " Krzysztof Kozlowski
2015-07-10  6:34 ` [PATCH 3/3] staging: " Krzysztof Kozlowski
  -- strict thread matches above, loose matches on Subject: below --
2015-07-10 10:37 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
2015-07-10 10:37 ` Krzysztof Kozlowski
2015-07-10 10:37 ` Krzysztof Kozlowski
2015-07-10  6:39 Krzysztof Kozlowski
2015-07-19 22:15 ` Alexandre Belloni
2015-07-10  6:37 Krzysztof Kozlowski
2015-07-10  6:37 ` Krzysztof Kozlowski
2015-08-20  8:07 ` Tomi Valkeinen
2015-08-20  8:07   ` Tomi Valkeinen
2015-08-20  8:07   ` Tomi Valkeinen
2015-07-10  6:36 Krzysztof Kozlowski
2015-07-10  6:19 Krzysztof Kozlowski
2015-07-10  6:19 ` Krzysztof Kozlowski
2015-07-10  5:43 Krzysztof Kozlowski
2015-07-10  5:36 Krzysztof Kozlowski
2015-07-10  5:36 ` Krzysztof Kozlowski
2015-07-10  5:36 ` Krzysztof Kozlowski
2015-07-10  5:32 Krzysztof Kozlowski
2015-07-13 21:54 ` Peter Hüwe
2015-07-13 22:15   ` Jason Gunthorpe
2015-07-10  5:30 Krzysztof Kozlowski
2015-07-10  5:30 ` Krzysztof Kozlowski
2015-07-10  5:05 Krzysztof Kozlowski
2015-07-10  5:05 ` Krzysztof Kozlowski
2015-07-10  5:04 Krzysztof Kozlowski
2015-07-10  5:04 ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.