/* Returns the number of bytes which are printed into the buffer.  */
static ssize_t i2o_device_show_class_id(struct device *dev, struct device_attribute *attr, char *buf)
/* Returns the number of bytes which are printed into the buffer.  */
static ssize_t i2o_device_show_class_id(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct i2o_device *i2o_dev = to_i2o_device(dev);
	sprintf(buf, "0x%03x\n", i2o_dev->lct_data.class_id);
	return strlen(buf) + 1;
}