public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: linux-i2c@vger.kernel.org
Subject: Re: [PATCH 0/6] i2c: designware: Code duplication removal and cleanups
Date: Thu, 15 Oct 2015 14:18:48 +0200	[thread overview]
Message-ID: <20151015121848.GG1546@katana> (raw)
In-Reply-To: <1441031493-18938-1-git-send-email-jarkko.nikula@linux.intel.com>

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

On Mon, Aug 31, 2015 at 05:31:27PM +0300, Jarkko Nikula wrote:
> It bothered to me to see "static struct i2c_algorithm i2c_dw_algo {}"
> defined twice both in i2c-designware-pcidrv.c and
> i2c-designware-platdrv.c and so many exported i2c-designware-core
> functions.
> 
> It turned out some of them became unused or are local and there were
> also duplicated probe code that I moved to new common i2c_dw_probe().
> 
> Object sizes below before and after this set from CONFIG_X86_64=y build.
> 
>    text	   data	    bss	    dec	    hex	filename
>    6439	   1096	      0	   7535	   1d6f	drivers/i2c/busses/i2c-designware-core.ko
>    5123	   1588	     16	   6727	   1a47	drivers/i2c/busses/i2c-designware-pci.ko
>    5274	   1096	     16	   6386	   18f2	drivers/i2c/busses/i2c-designware-platform.ko
>   16836	   3780	     32	  20648	   50a8	(TOTALS)
> 
>    text	   data	    bss	    dec	    hex	filename
>    7225	   1120	     16	   8361	   20a9	drivers/i2c/busses/i2c-designware-core.ko
>    4281	   1524	      0	   5805	   16ad	drivers/i2c/busses/i2c-designware-pci.ko
>    4337	   1072	      0	   5409	   1521	drivers/i2c/busses/i2c-designware-platform.ko
>   15843	   3716	     16	  19575	   4c77	(TOTALS)
> 
> Jarkko Nikula (6):
>   i2c: designware: Remove interrupt clearing from i2c_dw_pci_probe()
>   i2c: designware: Disable interrupts before requesting PCI device
>     interrupt
>   i2c: designware: Remove unused functions
>   i2c: designware: Make dw_readl() and dw_writel() static
>   i2c: designware: Rename platform driver probe and PM functions
>   i2c: designware: Move common probe code into i2c_dw_probe()

Applied to for-next (with V2 of patch 6), thanks!

Jarkko, would you be interested in maintaining the designware driver?
For any non-trivial patch to this driver, I'd need assistance.

Thanks,

   Wolfram


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

  parent reply	other threads:[~2015-10-15 12:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-31 14:31 [PATCH 0/6] i2c: designware: Code duplication removal and cleanups Jarkko Nikula
     [not found] ` <1441031493-18938-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-08-31 14:31   ` [PATCH 1/6] i2c: designware: Remove interrupt clearing from i2c_dw_pci_probe() Jarkko Nikula
2015-10-10  7:53     ` Wolfram Sang
2015-10-12 11:14       ` Jarkko Nikula
2015-10-15 12:01         ` Wolfram Sang
2015-08-31 14:31   ` [PATCH 2/6] i2c: designware: Disable interrupts before requesting PCI device interrupt Jarkko Nikula
2015-08-31 14:31   ` [PATCH 3/6] i2c: designware: Remove unused functions Jarkko Nikula
2015-08-31 14:31   ` [PATCH 4/6] i2c: designware: Make dw_readl() and dw_writel() static Jarkko Nikula
2015-08-31 14:31   ` [PATCH 5/6] i2c: designware: Rename platform driver probe and PM functions Jarkko Nikula
2015-08-31 14:31   ` [PATCH 6/6] i2c: designware: Move common probe code into i2c_dw_probe() Jarkko Nikula
2015-10-10  7:57     ` Wolfram Sang
2015-10-12 11:38       ` Jarkko Nikula
2015-10-12 13:55       ` [PATCH v2 " Jarkko Nikula
2015-10-20 16:32         ` Wolfram Sang
2015-10-21 14:10           ` Jarkko Nikula
2015-10-15 12:18 ` Wolfram Sang [this message]
2015-10-15 13:01   ` [PATCH 0/6] i2c: designware: Code duplication removal and cleanups Jarkko Nikula

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=20151015121848.GG1546@katana \
    --to=wsa@the-dreams.de \
    --cc=jarkko.nikula@linux.intel.com \
    --cc=linux-i2c@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox