Linux ocfs2 filesystem development
 help / color / mirror / Atom feed
* [Ocfs2-devel] simplify configfs attributes V2
@ 2015-10-03 13:32 Christoph Hellwig
  2015-10-03 13:32 ` [Ocfs2-devel] [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread
* [Ocfs2-devel] simplify configfs attributes
@ 2015-09-25 13:49 Christoph Hellwig
  2015-09-25 13:49 ` [Ocfs2-devel] [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHM4w1=ySCiVR3g=oYx5JPK2XxRCYxP7MQNrF_VLJaRrT5g-Yg@mail.gmail.com>
     [not found] ` <87r3l3u50y.fsf@saruman.tx.rr.com>
2015-10-11 13:09   ` [Ocfs2-devel] [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
2015-10-03 13:32 [Ocfs2-devel] simplify configfs attributes V2 Christoph Hellwig
2015-10-03 13:32 ` [Ocfs2-devel] [PATCH 18/23] spear13xx_pcie_gadget: use per-attribute show and store methods Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2015-09-25 13:49 [Ocfs2-devel] simplify configfs attributes Christoph Hellwig
2015-09-25 13:49 ` [Ocfs2-devel] [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