[PATCH openEuler-5.10-LTS 013/166] ptp: replace snprintf with sysfs_emit