Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21d46fc4 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman
Browse files

staging: ced1401: rename StateOf1401()



rename camel case function StateOf1401() to 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 9ee52ef6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -932,11 +932,11 @@ int ced_kill_io(DEVICE_EXTENSION *pdx)
}

/****************************************************************************
** StateOf1401
** ced_state_of_1401
**
** Puts the current state of the 1401 in the Irp return buffer.
*****************************************************************************/
int StateOf1401(DEVICE_EXTENSION *pdx)
int ced_state_of_1401(DEVICE_EXTENSION *pdx)
{
	int iReturn;
	mutex_lock(&pdx->io_mutex);
+1 −1
Original line number Diff line number Diff line
@@ -1275,7 +1275,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
		return ced_kill_io(pdx);

	case _IOC_NR(IOCTL_CED_STATEOF1401):
		return StateOf1401(pdx);
		return ced_state_of_1401(pdx);

	case _IOC_NR(IOCTL_CED_GRAB1401):
	case _IOC_NR(IOCTL_CED_FREE1401):
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ extern int ced_line_count(DEVICE_EXTENSION *pdx);
extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
extern int ced_kill_io(DEVICE_EXTENSION *pdx);
extern int StateOf1401(DEVICE_EXTENSION *pdx);
extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
extern int StartSelfTest(DEVICE_EXTENSION *pdx);
extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
extern int TypeOf1401(DEVICE_EXTENSION *pdx);