board: renaming get_device_serial_number 67/259767/1
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Jun 2021 01:53:57 +0000 (10:53 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Jun 2021 01:53:57 +0000 (10:53 +0900)
Change-Id: I79a94dc5418c83994bd39fedf1504c6c59f32325
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/board/board.c

index 56a2d7dae3428a6cd2b4a11eeee6cc4abcc4ede4..d22b2048a5ffdfec948f7ad9c1a2a539ce137e58 100644 (file)
@@ -28,7 +28,7 @@
 #define SERIAL_FILE_PATH "/sys/firmware/devicetree/base/serial-number"
 #define LINE_LEN 64
 
-static int get_device_serial(char **out)
+static int get_device_serial_number(char **out)
 {
        FILE *fp;
        char *line, *p;
@@ -57,7 +57,7 @@ static int board_init(void **data)
        if (!board_funcs)
                return -ENOMEM;
 
-       board_funcs->get_device_serial = get_device_serial;
+       board_funcs->get_device_serial_number = get_device_serial_number;
 
        *data = (void *)board_funcs;