From: Christoph Hellwig Date: Sun, 10 May 2015 16:14:58 +0000 (+0200) Subject: target: simplify backend attribute implementation X-Git-Tag: omap-for-v4.2/fixes-rc1^2~8^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3effdb9094fd06b9c61ecef08d610ae90805fd98;p=pandora-kernel.git target: simplify backend attribute implementation Consolidate the implementation of the backend attributes in a single file and single function per attribute show/store function instead of splitting it into multiple functions in multiple files. Also use the proper strto* helpers for exposed data types, add macros to implement the store methods for the most common data types and share the show methods between the two different attribute implementations. (Fix bogus store_pi_prot_format flag=0 return value - nab) Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed