diff options
author | Andres More <more.andres@gmail.com> | 2010-05-06 20:34:29 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:18:23 -0700 |
commit | 0cbd8d9854284d3ff38d04aaa3ae726fb1c4a958 (patch) | |
tree | f30d02ef8bb18f92909f0ff7feba92f06bd67e73 /drivers/staging/vt6656/power.h | |
parent | 3afc7cc38c75d645855d680f0fad7d342f8e7fb2 (diff) |
staging: vt6656: code cleanup, removed HANDLE definition in ttype.h
Checkpatch warnings about using externs in .c files were not resolved,
neither some long lines on deeply nested code.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/power.h')
-rw-r--r-- | drivers/staging/vt6656/power.h | 41 |
1 files changed, 9 insertions, 32 deletions
diff --git a/drivers/staging/vt6656/power.h b/drivers/staging/vt6656/power.h index c34e3899d95b..50792bb8c978 100644 --- a/drivers/staging/vt6656/power.h +++ b/drivers/staging/vt6656/power.h @@ -48,37 +48,14 @@ /* PSDevice pDevice */ /* PSDevice hDeviceContext */ -BOOL -PSbConsiderPowerDown( - HANDLE hDeviceContext, - BOOL bCheckRxDMA, - BOOL bCheckCountToWakeUp - ); - -void -PSvDisablePowerSaving( - HANDLE hDeviceContext - ); - -void -PSvEnablePowerSaving( - HANDLE hDeviceContext, - WORD wListenInterval - ); - -void -PSvSendPSPOLL( - HANDLE hDeviceContext - ); - -BOOL -PSbSendNullPacket( - HANDLE hDeviceContext - ); - -BOOL -PSbIsNextTBTTWakeUp( - HANDLE hDeviceContext - ); +BOOL PSbConsiderPowerDown(void *hDeviceContext, + BOOL bCheckRxDMA, + BOOL bCheckCountToWakeUp); + +void PSvDisablePowerSaving(void *hDeviceContext); +void PSvEnablePowerSaving(void *hDeviceContext, WORD wListenInterval); +void PSvSendPSPOLL(void *hDeviceContext); +BOOL PSbSendNullPacket(void *hDeviceContext); +BOOL PSbIsNextTBTTWakeUp(void *hDeviceContext); #endif /* __POWER_H__ */ |