All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Alessandro Zummo <a.zummo@towertech.it>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Subject: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
Date: Fri, 10 Jul 2015 15:39:49 +0900	[thread overview]
Message-ID: <1436510391-6001-1-git-send-email-k.kozlowski@samsung.com> (raw)

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


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Alessandro Zummo <a.zummo@towertech.it>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Subject: [rtc-linux] [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)
Date: Fri, 10 Jul 2015 15:39:49 +0900	[thread overview]
Message-ID: <1436510391-6001-1-git-send-email-k.kozlowski@samsung.com> (raw)

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

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

             reply	other threads:[~2015-07-10  6:40 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10  6:39 Krzysztof Kozlowski [this message]
2015-07-10  6:39 ` [rtc-linux] [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Krzysztof Kozlowski
2015-07-10  6:39 ` [PATCH 1/2] rtc: Drop owner assignment from i2c_driver Krzysztof Kozlowski
2015-07-10  6:39   ` [rtc-linux] " Krzysztof Kozlowski
2015-07-10  6:39 ` [PATCH 2/2] rtc: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10  6:39   ` [rtc-linux] " Krzysztof Kozlowski
2015-07-19 22:15 ` [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Alexandre Belloni
2015-07-19 22:15   ` [rtc-linux] " Alexandre Belloni
  -- 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: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: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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436510391-6001-1-git-send-email-k.kozlowski@samsung.com \
    --to=k.kozlowski@samsung.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rtc-linux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.