{
struct gb_endo *endo = to_gb_endo(dev);
- return sprintf(buf, "%s", &endo->svc_info.serial_number[0]);
+ return sprintf(buf, "%s\n", &endo->svc_info.serial_number[0]);
}
static DEVICE_ATTR_RO(serial_number);
{
struct gb_endo *endo = to_gb_endo(dev);
- return sprintf(buf, "%s", &endo->svc_info.version[0]);
+ return sprintf(buf, "%s\n", &endo->svc_info.version[0]);
}
static DEVICE_ATTR_RO(version);
{
struct gb_endo *endo = to_gb_endo(dev);
- return sprintf(buf, "0x%04x", endo->id);
+ return sprintf(buf, "0x%04x\n", endo->id);
}
static DEVICE_ATTR_RO(id);
{
struct gb_endo *endo = to_gb_endo(dev);
- return sprintf(buf, "0x%02x", endo->ap_intf_id);
+ return sprintf(buf, "0x%02x\n", endo->ap_intf_id);
}
static DEVICE_ATTR_RO(ap_intf_id);