[COMMON] drivers: soc: remove 'bytes' for memory size
authorBoojin Kim <boojin.kim@samsung.com>
Mon, 1 Oct 2018 11:06:12 +0000 (20:06 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:05 +0000 (20:23 +0300)
This patch removes 'bytes' from the output string of memory size.

Change-Id: I73584072c99d4031ab828effbfbc296ebad7aac1
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
drivers/soc/samsung/exynos-chipid.c

index c89ecd569e92643d8de93dfaf11a0e8f5f2993e0..232d451955c09cd6aaa0edb737ce3d129089348b 100644 (file)
@@ -305,7 +305,7 @@ static ssize_t chipid_evt_ver_show(struct kobject *kobj,
 static ssize_t chipid_memsize_show(struct kobject *kobj,
                                struct kobj_attribute *attr, char *buf)
 {
-       return snprintf(buf, 20, "%llu bytes\n", exynos_soc_info.memsize);
+       return snprintf(buf, 20, "%llu\n", exynos_soc_info.memsize);
 }
 
 static struct kobj_attribute chipid_product_id_attr =