mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
@ 2015-07-10  6:36 Krzysztof Kozlowski
  2015-07-10  6:36 ` [PATCH 1/2] tty: serial: Drop owner assignment from platform_driver Krzysztof Kozlowski
  2015-07-10  6:36 ` [PATCH 2/2] tty: serial: Drop owner assignment from i2c_driver Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2015-07-10  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  6:36 [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
2015-07-10  6:36 ` [PATCH 1/2] tty: serial: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10  6:36 ` [PATCH 2/2] tty: serial: Drop owner assignment from i2c_driver Krzysztof Kozlowski
2015-07-10  8:57   ` Rama Kiran Kumar Indrakanti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®