IB/ehca: Beautify sysfs attribute code and fix compiler warnings
authorJoachim Fenkes <fenkes@de.ibm.com>
Wed, 9 May 2007 11:48:25 +0000 (13:48 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:40:45 +0000 (13:40 -0700)
commitbba9b6013e604fadb298191c058149acf1cdfced
treec23803b89b94e22c394e4fba2a4195544d348088
parentc7a14939e78e75dd90b54cb0df371019bc6d3e89
IB/ehca: Beautify sysfs attribute code and fix compiler warnings

eHCA's sysfs attributes are now being created via sysfs_create_group(),
making the process neatly table-driven. The return value is checked, thus
fixing a few compiler warnings.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_main.c