struct fb_info *info = dev_get_drvdata(dev);
        struct sh_mobile_lcdc_overlay *ovl = info->par;
 
-       return scnprintf(buf, PAGE_SIZE, "%u\n", ovl->alpha);
+       return sysfs_emit(buf, "%u\n", ovl->alpha);
 }
 
 static ssize_t
        struct fb_info *info = dev_get_drvdata(dev);
        struct sh_mobile_lcdc_overlay *ovl = info->par;
 
-       return scnprintf(buf, PAGE_SIZE, "%u\n", ovl->mode);
+       return sysfs_emit(buf, "%u\n", ovl->mode);
 }
 
 static ssize_t
        struct fb_info *info = dev_get_drvdata(dev);
        struct sh_mobile_lcdc_overlay *ovl = info->par;
 
-       return scnprintf(buf, PAGE_SIZE, "%d,%d\n", ovl->pos_x, ovl->pos_y);
+       return sysfs_emit(buf, "%d,%d\n", ovl->pos_x, ovl->pos_y);
 }
 
 static ssize_t
        struct fb_info *info = dev_get_drvdata(dev);
        struct sh_mobile_lcdc_overlay *ovl = info->par;
 
-       return scnprintf(buf, PAGE_SIZE, "%u\n", ovl->rop3);
+       return sysfs_emit(buf, "%u\n", ovl->rop3);
 }
 
 static ssize_t