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

staging: ced1401: fix ced_unset_transfer()

Rename camel case arguments and locals in function ced_unset_transfer()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2932f3ae
......@@ -801,16 +801,16 @@ int ced_set_transfer(struct ced_data *ced,
}
/****************************************************************************
** UnSetTransfer
** ced_unset_transfer
** Erases a transfer area record
****************************************************************************/
int ced_unset_transfer(struct ced_data *ced, int nArea)
int ced_unset_transfer(struct ced_data *ced, int area)
{
int iReturn;
int ret;
mutex_lock(&ced->io_mutex);
iReturn = ced_clear_area(ced, nArea);
ret = ced_clear_area(ced, area);
mutex_unlock(&ced->io_mutex);
return iReturn;
return ret;
}
/****************************************************************************
......
......@@ -231,7 +231,7 @@ extern int ced_get_char(struct ced_data *ced);
extern int ced_get_string(struct ced_data *ced, char __user *user, int n);
extern int ced_set_transfer(struct ced_data *ced,
struct transfer_area_desc __user *utd);
extern int ced_unset_transfer(struct ced_data *ced, int nArea);
extern int ced_unset_transfer(struct ced_data *ced, int area);
extern int ced_set_event(struct ced_data *ced, struct transfer_event __user *pTE);
extern int ced_stat_1401(struct ced_data *ced);
extern int ced_line_count(struct ced_data *ced);
......
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