All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  5:32 Krzysztof Kozlowski
  2015-07-10  5:32 ` [PATCH] char: Drop owner assignment from i2c_driver Krzysztof Kozlowski
  2015-07-13 21:54 ` [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Peter Hüwe
  0 siblings, 2 replies; 28+ 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] 28+ messages in thread

* [PATCH] char: Drop owner assignment from i2c_driver
  2015-07-10  5:32 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
@ 2015-07-10  5:32 ` Krzysztof Kozlowski
  2015-07-13 21:54 ` [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Peter Hüwe
  1 sibling, 0 replies; 28+ 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

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/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(-)

diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c
index b043d8d45823..003a4ab3b660 100644
--- a/drivers/char/ipmi/ipmi_ssif.c
+++ b/drivers/char/ipmi/ipmi_ssif.c
@@ -1950,7 +1950,6 @@ MODULE_DEVICE_TABLE(i2c, ssif_id);
 static struct i2c_driver ssif_i2c_driver = {
 	.class		= I2C_CLASS_HWMON,
 	.driver		= {
-		.owner			= THIS_MODULE,
 		.name			= DEVICE_NAME
 	},
 	.probe		= ssif_probe,
diff --git a/drivers/char/tpm/st33zp24/i2c.c b/drivers/char/tpm/st33zp24/i2c.c
index ad1ee180e0c2..309d2767c6a1 100644
--- a/drivers/char/tpm/st33zp24/i2c.c
+++ b/drivers/char/tpm/st33zp24/i2c.c
@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_i2c_ops, st33zp24_pm_suspend,
 
 static struct i2c_driver st33zp24_i2c_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = TPM_ST33_I2C,
 		.pm = &st33zp24_i2c_ops,
 		.of_match_table = of_match_ptr(of_st33zp24_i2c_match),
diff --git a/drivers/char/tpm/tpm_i2c_atmel.c b/drivers/char/tpm/tpm_i2c_atmel.c
index 7a0ca78ad3c6..8dfb88b9739c 100644
--- a/drivers/char/tpm/tpm_i2c_atmel.c
+++ b/drivers/char/tpm/tpm_i2c_atmel.c
@@ -217,7 +217,6 @@ static struct i2c_driver i2c_atmel_driver = {
 	.remove = i2c_atmel_remove,
 	.driver = {
 		.name = I2C_DRIVER_NAME,
-		.owner = THIS_MODULE,
 		.pm = &i2c_atmel_pm_ops,
 		.of_match_table = of_match_ptr(i2c_atmel_of_match),
 	},
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c
index 33c5f360ab01..63d5d22e9e60 100644
--- a/drivers/char/tpm/tpm_i2c_infineon.c
+++ b/drivers/char/tpm/tpm_i2c_infineon.c
@@ -711,7 +711,6 @@ static struct i2c_driver tpm_tis_i2c_driver = {
 	.remove = tpm_tis_i2c_remove,
 	.driver = {
 		   .name = "tpm_i2c_infineon",
-		   .owner = THIS_MODULE,
 		   .pm = &tpm_tis_i2c_ops,
 		   .of_match_table = of_match_ptr(tpm_tis_i2c_of_match),
 		   },
diff --git a/drivers/char/tpm/tpm_i2c_nuvoton.c b/drivers/char/tpm/tpm_i2c_nuvoton.c
index 9d42b7d78e50..847f1597fe9b 100644
--- a/drivers/char/tpm/tpm_i2c_nuvoton.c
+++ b/drivers/char/tpm/tpm_i2c_nuvoton.c
@@ -641,7 +641,6 @@ static struct i2c_driver i2c_nuvoton_driver = {
 	.remove = i2c_nuvoton_remove,
 	.driver = {
 		.name = I2C_DRIVER_NAME,
-		.owner = THIS_MODULE,
 		.pm = &i2c_nuvoton_pm_ops,
 		.of_match_table = of_match_ptr(i2c_nuvoton_of_match),
 	},
-- 
1.9.1


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

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-10  5:32 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
  2015-07-10  5:32 ` [PATCH] char: Drop owner assignment from i2c_driver Krzysztof Kozlowski
@ 2015-07-13 21:54 ` Peter Hüwe
  2015-07-13 22:15   ` Jason Gunthorpe
  1 sibling, 1 reply; 28+ 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] 28+ messages in thread

* Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
  2015-07-13 21:54 ` [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Peter Hüwe
@ 2015-07-13 22:15   ` Jason Gunthorpe
  0 siblings, 0 replies; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ messages in thread

* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:34 Krzysztof Kozlowski
  0 siblings, 0 replies; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ 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; 28+ 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] 28+ messages in thread

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

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  5:32 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
2015-07-10  5:32 ` [PATCH] char: Drop owner assignment from i2c_driver Krzysztof Kozlowski
2015-07-13 21:54 ` [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Peter Hüwe
2015-07-13 22:15   ` Jason Gunthorpe
  -- strict thread matches above, loose matches on Subject: below --
2015-07-10 10:37 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:34 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: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.