mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
Staging: comedi:Fix a warning issues in me_daq.c
This is a patch to the me_daq.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
45de268819
commit
e31eae7618
@@ -150,7 +150,7 @@ struct me_private_data {
|
||||
unsigned short dac_ctrl; /* Mirror of the DAC_CONTROL register */
|
||||
};
|
||||
|
||||
static inline void sleep(unsigned sec)
|
||||
static inline void sleep(unsigned int sec)
|
||||
{
|
||||
schedule_timeout_interruptible(sec * HZ);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user