From: Ravishankar Karkala Mallikarjunayya Date: Mon, 6 Jun 2016 11:01:16 +0000 (+0530) Subject: Staging: comedi:Fix a warning issues in me_daq.c X-Git-Tag: v4.8-rc1~193^2~123 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e31eae76185cb4f86e5edf4f1f26b728863ded6b;p=karo-tx-linux.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/me_daq.c b/drivers/staging/comedi/drivers/me_daq.c index 3bf0caa18ab0..c0b7a300e428 100644 --- a/drivers/staging/comedi/drivers/me_daq.c +++ b/drivers/staging/comedi/drivers/me_daq.c @@ -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); }