From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Sat, 3 Oct 2015 15:32:36 +0200 Subject: [Cluster-devel] simplify configfs attributes V2 Message-ID: <1443879179-22280-1-git-send-email-hch@lst.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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