mirror of https://gitee.com/openkylin/linux.git
Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file
This is a patch to fix the warnings shown by checkpatch tool on file cb_das16_cs.c Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
33bd00ef6d
commit
995e13b9b9
|
@ -184,6 +184,7 @@ static int das16cs_ao_winsn(struct comedi_device *dev,
|
|||
|
||||
for (bit = 15; bit >= 0; bit--) {
|
||||
int b = (d >> bit) & 0x1;
|
||||
|
||||
b <<= 1;
|
||||
outw(status1 | b | 0x0000, dev->iobase + DAS16CS_MISC1);
|
||||
udelay(1);
|
||||
|
|
Loading…
Reference in New Issue