Merge branch 'for-6.9/amd-sfh' into for-linus
[sfrench/cifs-2.6.git] / drivers / input / touchscreen / hycon-hy46xx.c
index d0f257989fd6b728091ff3ee1add1d00777507de..2e01d87977c168ff618220aceaa02da0a132e59a 100644 (file)
@@ -202,7 +202,7 @@ static ssize_t hycon_hy46xx_setting_show(struct device *dev,
                *field = val;
        }
 
-       count = scnprintf(buf, PAGE_SIZE, "%d\n", val);
+       count = sysfs_emit(buf, "%d\n", val);
 
 out:
        mutex_unlock(&tsdata->mutex);