@@ -224,11 +224,11 @@ static ssize_t available_sync_leds_show(struct device *dev,
char *pbuf = buf;
int i, buf_len;
- buf_len = sprintf(pbuf, "[0: none] ");
+ buf_len = sprintf(pbuf, "0.none ");
pbuf += buf_len;
for (i = 0; i < fled_cdev->num_sync_leds; ++i) {
- buf_len = sprintf(pbuf, "[%d: %s] ", i + 1,
+ buf_len = sprintf(pbuf, "%d.%s ", i + 1,
fled_cdev->sync_leds[i]->led_cdev.name);
pbuf += buf_len;
}
@@ -281,7 +281,7 @@ static ssize_t flash_sync_strobe_show(struct device *dev,
sync_led_name = (char *)
fled_cdev->sync_leds[sled_id - 1]->led_cdev.name;
- return sprintf(buf, "[%d: %s]\n", sled_id, sync_led_name);
+ return sprintf(buf, "%d.%s\n", sled_id, sync_led_name);
}
static DEVICE_ATTR_RW(flash_sync_strobe);