struct snd_card *card = dev_to_snd_card(dev);
        struct usb_line6_pod *pod = card->private_data;
 
-       return sprintf(buf, "%u\n", pod->serial_number);
+       return sysfs_emit(buf, "%u\n", pod->serial_number);
 }
 
 /*
        struct snd_card *card = dev_to_snd_card(dev);
        struct usb_line6_pod *pod = card->private_data;
 
-       return sprintf(buf, "%d.%02d\n", pod->firmware_version / 100,
-                      pod->firmware_version % 100);
+       return sysfs_emit(buf, "%d.%02d\n", pod->firmware_version / 100,
+                         pod->firmware_version % 100);
 }
 
 /*
        struct snd_card *card = dev_to_snd_card(dev);
        struct usb_line6_pod *pod = card->private_data;
 
-       return sprintf(buf, "%d\n", pod->device_id);
+       return sysfs_emit(buf, "%d\n", pod->device_id);
 }
 
 /*
 
        struct snd_card *card = dev_to_snd_card(dev);
        struct usb_line6_podhd *pod = card->private_data;
 
-       return sprintf(buf, "%u\n", pod->serial_number);
+       return sysfs_emit(buf, "%u\n", pod->serial_number);
 }
 
 static ssize_t firmware_version_show(struct device *dev,
        struct snd_card *card = dev_to_snd_card(dev);
        struct usb_line6_podhd *pod = card->private_data;
 
-       return sprintf(buf, "%06x\n", pod->firmware_version);
+       return sysfs_emit(buf, "%06x\n", pod->firmware_version);
 }
 
 static DEVICE_ATTR_RO(firmware_version);