From: Ivan Priest Date: Fri, 22 Jun 2018 09:40:41 +0000 (+0100) Subject: [9610][7885][7872][7570] wlbt: rename coredump_wlbtd() to call_wlbtd() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55e63e2fd7abea62184efbef0ba68cd1037d9dfe;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610][7885][7872][7570] wlbt: rename coredump_wlbtd() to call_wlbtd() 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 --- diff --git a/drivers/misc/samsung/scsc/mxman.c b/drivers/misc/samsung/scsc/mxman.c index 2ddc23bf5666..d8e0153442e9 100755 --- a/drivers/misc/samsung/scsc/mxman.c +++ b/drivers/misc/samsung/scsc/mxman.c @@ -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) diff --git a/drivers/misc/samsung/scsc/scsc_wlbtd.c b/drivers/misc/samsung/scsc/scsc_wlbtd.c index 281c7029ca87..6951e8550f63 100755 --- a/drivers/misc/samsung/scsc/scsc_wlbtd.c +++ b/drivers/misc/samsung/scsc/scsc_wlbtd.c @@ -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) { diff --git a/drivers/misc/samsung/scsc/scsc_wlbtd.h b/drivers/misc/samsung/scsc/scsc_wlbtd.h index 5383abcf719a..ef0cd12a76d1 100644 --- a/drivers/misc/samsung/scsc/scsc_wlbtd.h +++ b/drivers/misc/samsung/scsc/scsc_wlbtd.h @@ -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);