[9610][7885][7872][7570] wlbt: rename coredump_wlbtd() to call_wlbtd()
authorIvan Priest <i.priest@samsung.com>
Fri, 22 Jun 2018 09:40:41 +0000 (10:40 +0100)
committerTarun Karela <t.karela@samsung.com>
Fri, 22 Jun 2018 11:58:38 +0000 (12:58 +0100)
Rename the function, as the calling of wlbtd does not necessarily
imply a moredump being taken.

Change-Id: I3c7e0ab4324b8eed20859e5a696806b191ae9234
SCSC-Bug-Id: SSB-41190
Signed-off-by: Ivan Priest <i.priest@samsung.com>
drivers/misc/samsung/scsc/mxman.c
drivers/misc/samsung/scsc/scsc_wlbtd.c
drivers/misc/samsung/scsc/scsc_wlbtd.h

index 2ddc23bf5666db7cc73fc3374af7b84657cf37c2..d8e0153442e93258f89708a2e1acd323962a8ce8 100755 (executable)
@@ -1309,10 +1309,10 @@ static void mxman_failure_work(struct work_struct *work)
                                        slsi_kic_system_events_coredump_in_progress,
                                        GFP_KERNEL);
 #ifdef CONFIG_SCSC_WLBTD
-                               /* we can safely call coredump_wlbtd as we are
+                               /* we can safely call call_wlbtd as we are
                                 * in workqueue context
                                 */
-                               r = coredump_wlbtd(SCSC_SCRIPT_MOREDUMP);
+                               r = call_wlbtd(SCSC_SCRIPT_MOREDUMP);
 #else
                                r = coredump_helper();
 #endif
@@ -1418,7 +1418,7 @@ static void print_mailboxes(struct mxman *mxman)
 static void wlbtd_work_func(struct work_struct *work)
 {
        /* require sleep-able workqueue to run successfully */
-       coredump_wlbtd(SCSC_SCRIPT_LOGGER_DUMP);
+       call_wlbtd(SCSC_SCRIPT_LOGGER_DUMP);
 }
 
 static void wlbtd_wq_init(struct mxman *mx)
index 281c7029ca870ed738cfd975d1b1ca82e13e6cee..6951e8550f6360ba6874a87de7ca68de996582c5 100755 (executable)
@@ -202,7 +202,7 @@ error:
        return -1;
 }
 
-int coredump_wlbtd(const char *script_path)
+int call_wlbtd(const char *script_path)
 {
        struct sk_buff *skb;
        void *msg;
@@ -292,7 +292,7 @@ error:
 
        return -1;
 }
-EXPORT_SYMBOL(coredump_wlbtd);
+EXPORT_SYMBOL(call_wlbtd);
 
 int scsc_wlbtd_deinit(void)
 {
index 5383abcf719aebb6418d4970f8bbd5a42376d992..ef0cd12a76d19e3c7759219132d71d72ff7bb7a4 100644 (file)
@@ -47,5 +47,5 @@ static const struct genl_multicast_group scsc_mcgrp[] = {
 
 int scsc_wlbtd_init(void);
 int scsc_wlbtd_deinit(void);
-int coredump_wlbtd(const char *script_path);
+int call_wlbtd(const char *script_path);
 int scsc_wlbtd_get_and_print_build_type(void);