Commit abfc7692 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: ced1401: fix ced_state_of_1401()

Rename camel case arguments and locals in function ced_state_of_1401()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b1b9286e
...@@ -997,16 +997,16 @@ int ced_kill_io(struct ced_data *ced) ...@@ -997,16 +997,16 @@ int ced_kill_io(struct ced_data *ced)
*****************************************************************************/ *****************************************************************************/
int ced_state_of_1401(struct ced_data *ced) int ced_state_of_1401(struct ced_data *ced)
{ {
int iReturn; int ret;
mutex_lock(&ced->io_mutex); mutex_lock(&ced->io_mutex);
ced_quick_check(ced, false, false); /* get state up to date, no reset */ ced_quick_check(ced, false, false); /* get state up to date, no reset */
iReturn = ced->current_state; ret = ced->current_state;
mutex_unlock(&ced->io_mutex); mutex_unlock(&ced->io_mutex);
dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, iReturn); dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, ret);
return iReturn; return ret;
} }
/**************************************************************************** /****************************************************************************
......
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