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

Commit bd3966d5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: epl: remove GENERIC



It wasn't used and isn't needed.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9c91f7b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ typedef union {

typedef tEplKernel(ROM *tEplApiCbEvent) (tEplApiEventType EventType_p,	// IN: event type (enum)
					 tEplApiEventArg *pEventArg_p,	// IN: event argument (union)
					 void GENERIC *pUserArg_p);
					 void *pUserArg_p);

typedef struct {
	unsigned int m_uiSizeOfStruct;
+4 −4
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ tEplKernel EplApiLinkObject(unsigned int uiObjIndex_p,
		EntrySize = (tEplObdSize) sizeof(bIndexEntries);
		RetCode = EplObdReadEntry(uiObjIndex_p,
					  0x00,
					  (void GENERIC *)&bIndexEntries,
					  (void *)&bIndexEntries,
					  &EntrySize);

		if ((RetCode != kEplSuccessful) || (bIndexEntries == 0x00)) {
@@ -1839,7 +1839,7 @@ static tEplKernel EplApiUpdateObd(void)
		// write Device Name (0x1008)
		Ret =
		    EplObdWriteEntry(0x1008, 0,
				     (void GENERIC *)EplApiInstance_g.
				     (void *)EplApiInstance_g.
				     m_InitParam.m_pszDevName,
				     (tEplObdSize) strlen(EplApiInstance_g.
							  m_InitParam.
@@ -1854,7 +1854,7 @@ static tEplKernel EplApiUpdateObd(void)
		// write Hardware version (0x1009)
		Ret =
		    EplObdWriteEntry(0x1009, 0,
				     (void GENERIC *)EplApiInstance_g.
				     (void *)EplApiInstance_g.
				     m_InitParam.m_pszHwVersion,
				     (tEplObdSize) strlen(EplApiInstance_g.
							  m_InitParam.
@@ -1869,7 +1869,7 @@ static tEplKernel EplApiUpdateObd(void)
		// write Software version (0x100A)
		Ret =
		    EplObdWriteEntry(0x100A, 0,
				     (void GENERIC *)EplApiInstance_g.
				     (void *)EplApiInstance_g.
				     m_InitParam.m_pszSwVersion,
				     (tEplObdSize) strlen(EplApiInstance_g.
							  m_InitParam.
+2 −2
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ typedef struct {

tEplKernel EplLinCbEvent(tEplApiEventType EventType_p,	// IN: event type (enum)
			 tEplApiEventArg *pEventArg_p,	// IN: event argument (union)
			 void GENERIC *pUserArg_p);
			 void *pUserArg_p);

tEplKernel EplLinCbSync(void);

@@ -1160,7 +1160,7 @@ static int EplLinIoctl(struct inode *pDeviceFile_p, // information about the dev

tEplKernel EplLinCbEvent(tEplApiEventType EventType_p,	// IN: event type (enum)
			 tEplApiEventArg *pEventArg_p,	// IN: event argument (union)
			 void GENERIC *pUserArg_p)
			 void *pUserArg_p)
{
	tEplKernel EplRet = kEplSuccessful;
	int iErr;
+1 −1
Original line number Diff line number Diff line
@@ -774,7 +774,7 @@ static tEplKernel EplErrorHandlerkLinkArray(DWORD * pdwValue_p,

	EntrySize = (tEplObdSize) sizeof(bIndexEntries);
	Ret = EplObdReadEntry(uiIndex_p,
			      0x00, (void GENERIC *)&bIndexEntries, &EntrySize);
			      0x00, (void *)&bIndexEntries, &EntrySize);

	if ((Ret != kEplSuccessful) || (bIndexEntries == 0x00)) {
		// Object doesn't exist or invalid entry number
+2 −2
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ tEplKernel EplObdInitRam(tEplObdInitParam MEM * pInitParam_p);

tEplKernel AppCbEvent(tEplApiEventType EventType_p,	// IN: event type (enum)
		      tEplApiEventArg *pEventArg_p,	// IN: event argument (union)
		      void GENERIC *pUserArg_p);
		      void *pUserArg_p);

tEplKernel AppCbSync(void);

@@ -486,7 +486,7 @@ static void __exit EplLinExit(void)

tEplKernel AppCbEvent(tEplApiEventType EventType_p,	// IN: event type (enum)
		      tEplApiEventArg *pEventArg_p,	// IN: event argument (union)
		      void GENERIC *pUserArg_p)
		      void *pUserArg_p)
{
	tEplKernel EplRet = kEplSuccessful;

Loading