netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods
@ 2015-10-06  7:01 Pratyush Anand
  2015-10-09 21:05 ` Felipe Balbi
  0 siblings, 1 reply; 6+ messages in thread
From: Pratyush Anand @ 2015-10-06  7:01 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Joel Becker, Andrew Morton, Nicholas Bellinger, Felipe Balbi,
	Andrzej Pietrasiewicz, Tejun Heo, Pantelis Antoniou, target-devel,
	cluster-devel, ocfs2-devel, USB list, netdev

On Sat, Oct 3, 2015 at 7:02 PM, Christoph Hellwig <hch@lst.de> wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Acked-by: Pratyush Anand <pratyush.anand@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread
* simplify configfs attributes V2
@ 2015-10-03 13:32 Christoph Hellwig
  2015-10-03 13:32 ` [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2015-10-03 13:32 UTC (permalink / raw)
  To: Joel Becker, Andrew Morton, Nicholas Bellinger
  Cc: Felipe Balbi, Andrzej Pietrasiewicz, Tejun Heo, Pratyush Anand,
	Pantelis Antoniou, target-devel, cluster-devel, ocfs2-devel,
	linux-usb, netdev

This series consolidates the code to implement configfs attributes
by providing the ->show and ->store method in common code and using
container_of in the methods to access the containing structure.

This reduces source and binary size of configfs consumers a lot.

Changes since V1:
 - a couple fixes for unintended changes in the uvc driver
 - moved a few CONFIG_ATTR() statements around
 - fixed up the documentation and samples in the last patch
 - added a little rather pointless blurb to the patch description for
   various patches

^ permalink raw reply	[flat|nested] 6+ messages in thread
* simplify configfs attributes
@ 2015-09-25 13:49 Christoph Hellwig
  2015-09-25 13:49 ` [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2015-09-25 13:49 UTC (permalink / raw)
  To: Joel Becker, Andrew Morton
  Cc: linux-usb, netdev, Pratyush Anand, Felipe Balbi, cluster-devel,
	target-devel, Tejun Heo, ocfs2-devel

This series consolidates the code to implement configfs attributes
by providing the ->show and ->store method in common code and using
container_of in the methods to access the containing structure.

This reduces source and binary size of configfs consumers a lot.

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06  7:01 [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Pratyush Anand
2015-10-09 21:05 ` Felipe Balbi
2015-10-11 13:09   ` Christoph Hellwig
     [not found]     ` <20151011130941.GA3890-jcswGhMUV9g@public.gmane.org>
2015-10-12 13:49       ` Felipe Balbi
  -- strict thread matches above, loose matches on Subject: below --
2015-10-03 13:32 simplify configfs attributes V2 Christoph Hellwig
2015-10-03 13:32 ` [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
2015-09-25 13:49 simplify configfs attributes Christoph Hellwig
2015-09-25 13:49 ` [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).