driver core: Convert some drivers to CLASS_ATTR_STRING
commit0933e2d98d1b170ef62d48e18157f5dc43b58217
authorAndi Kleen <andi@firstfloor.org>
Tue, 5 Jan 2010 11:48:09 +0000 (5 12:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:48 +0000 (7 17:04 -0800)
treeecbd589b7607cda35743faf65c8f4326fc8373dd
parent869dfc875e32fd832385fd52ce54525a10401ed6
driver core: Convert some drivers to CLASS_ATTR_STRING

Convert some drivers who export a single string as class attribute
to the new class_attr_string functions. This removes redundant
code all over.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/drm_sysfs.c
drivers/infiniband/core/ucm.c
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/uverbs_main.c
drivers/misc/phantom.c
drivers/staging/asus_oled/asus_oled.c