From: Andi Kleen Date: Tue, 5 Jan 2010 11:48:08 +0000 (+0100) Subject: driver core: Add class_attr_string for simple read-only string X-Git-Tag: v2.6.34-rc1~1^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869dfc875e32fd832385fd52ce54525a10401ed6;p=pandora-kernel.git driver core: Add class_attr_string for simple read-only string Several drivers just export a static string as class attributes. Use the new extensible attribute support to define a simple CLASS_ATTR_STRING() macro for this. This will allow to remove code from drivers in followon patches. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed