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

staging: ced1401: fix ced_dbg_stop_loop()

Rename camel case arguments and locals in function ced_dbg_stop_loop()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f1d513bb
...@@ -1354,15 +1354,15 @@ int ced_dbg_get_data(struct ced_data *ced, TDBGBLOCK __user *udb) ...@@ -1354,15 +1354,15 @@ int ced_dbg_get_data(struct ced_data *ced, TDBGBLOCK __user *udb)
****************************************************************************/ ****************************************************************************/
int ced_dbg_stop_loop(struct ced_data *ced) int ced_dbg_stop_loop(struct ced_data *ced)
{ {
int iReturn; int ret;
unsigned int uState, uErr; unsigned int uState, uErr;
mutex_lock(&ced->io_mutex); mutex_lock(&ced->io_mutex);
dev_dbg(&ced->interface->dev, "%s\n", __func__); dev_dbg(&ced->interface->dev, "%s\n", __func__);
iReturn = ced_get_state(ced, &uState, &uErr); ret = ced_get_state(ced, &uState, &uErr);
mutex_unlock(&ced->io_mutex); mutex_unlock(&ced->io_mutex);
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