From: Kumar Amit Mehta Date: Fri, 4 Apr 2014 15:44:44 +0000 (+0300) Subject: staging: comedi: drivers: pcl812.c: add curly braces for checkpatch X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6425b1c2d25d9cdcaa23c266a5845e8cd2e4f2d6;p=linux-beck.git staging: comedi: drivers: pcl812.c: add curly braces for checkpatch Kernel style is that if one side of the if else statement gets has curly braces then both side should have them. Signed-off-by: Kumar Amit Mehta Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl812.c b/drivers/staging/comedi/drivers/pcl812.c index 160eac8083db..5cc01fe45cf2 100644 --- a/drivers/staging/comedi/drivers/pcl812.c +++ b/drivers/staging/comedi/drivers/pcl812.c @@ -811,8 +811,9 @@ static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) devpriv->ai_dma = 0; break; } - } else + } else { devpriv->ai_dma = 0; + } devpriv->ai_act_scan = 0; devpriv->ai_poll_ptr = 0;