Commit 3ec66a4b authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: rename Process_Incoming()

Fix the CamelCase function name:

Process_Incoming => process_incoming

Update all references to use the new name.
Signed-off-by: default avatarBryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab12d8a0
...@@ -1234,8 +1234,7 @@ static struct device_info *find_dev(u32 bus_no, u32 dev_no) ...@@ -1234,8 +1234,7 @@ static struct device_info *find_dev(u32 bus_no, u32 dev_no)
* less-busy ones. * less-busy ones.
* *
*/ */
static int static int process_incoming(void *v)
Process_Incoming(void *v)
{ {
unsigned long long cur_cycles, old_cycles, idle_cycles, delta_cycles; unsigned long long cur_cycles, old_cycles, idle_cycles, delta_cycles;
struct list_head *new_tail = NULL; struct list_head *new_tail = NULL;
...@@ -1346,7 +1345,7 @@ Initialize_incoming_thread(void) ...@@ -1346,7 +1345,7 @@ Initialize_incoming_thread(void)
if (incoming_started) if (incoming_started)
return TRUE; return TRUE;
if (!uisthread_start(&incoming_ti, if (!uisthread_start(&incoming_ti,
&Process_Incoming, NULL, "dev_incoming")) { &process_incoming, NULL, "dev_incoming")) {
LOGERR("uisthread_start Initialize_incoming_thread ****FAILED"); LOGERR("uisthread_start Initialize_incoming_thread ****FAILED");
return FALSE; return FALSE;
} }
...@@ -1355,7 +1354,7 @@ Initialize_incoming_thread(void) ...@@ -1355,7 +1354,7 @@ Initialize_incoming_thread(void)
} }
/* Add a new device/channel to the list being processed by /* Add a new device/channel to the list being processed by
* Process_Incoming(). * process_incoming().
* <interrupt> - indicates the function to call periodically. * <interrupt> - indicates the function to call periodically.
* <interrupt_context> - indicates the data to pass to the <interrupt> * <interrupt_context> - indicates the data to pass to the <interrupt>
* function. * function.
...@@ -1385,7 +1384,7 @@ uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no, ...@@ -1385,7 +1384,7 @@ uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no,
EXPORT_SYMBOL_GPL(uislib_enable_channel_interrupts); EXPORT_SYMBOL_GPL(uislib_enable_channel_interrupts);
/* Remove a device/channel from the list being processed by /* Remove a device/channel from the list being processed by
* Process_Incoming(). * process_incoming().
*/ */
void void
uislib_disable_channel_interrupts(u32 bus_no, u32 dev_no) uislib_disable_channel_interrupts(u32 bus_no, u32 dev_no)
...@@ -1418,7 +1417,7 @@ do_wakeup_polling_device_channels(struct work_struct *dummy) ...@@ -1418,7 +1417,7 @@ do_wakeup_polling_device_channels(struct work_struct *dummy)
static DECLARE_WORK(Work_wakeup_polling_device_channels, static DECLARE_WORK(Work_wakeup_polling_device_channels,
do_wakeup_polling_device_channels); do_wakeup_polling_device_channels);
/* Call this function when you want to send a hint to Process_Incoming() that /* Call this function when you want to send a hint to process_incoming() that
* your device might have more requests. * your device might have more requests.
*/ */
void void
...@@ -1430,7 +1429,7 @@ uislib_force_channel_interrupt(u32 bus_no, u32 dev_no) ...@@ -1430,7 +1429,7 @@ uislib_force_channel_interrupt(u32 bus_no, u32 dev_no)
return; return;
/* The point of using schedule_work() instead of just doing /* The point of using schedule_work() instead of just doing
* the work inline is to force a slight delay before waking up * the work inline is to force a slight delay before waking up
* the Process_Incoming() thread. * the process_incoming() thread.
*/ */
tot_wakeup_cnt++; tot_wakeup_cnt++;
schedule_work(&Work_wakeup_polling_device_channels); schedule_work(&Work_wakeup_polling_device_channels);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment