From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751861AbaEBJPj (ORCPT ); Fri, 2 May 2014 05:15:39 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:45400 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751655AbaEBJPh (ORCPT ); Fri, 2 May 2014 05:15:37 -0400 From: Sheetal Tigadoli To: gregkh@suse.de Cc: linux-kernel@vger.kernel.org, Sheetal T Subject: [PATCH] Fixes Coding Style Warnings Date: Fri, 2 May 2014 14:44:52 +0530 Message-Id: <1399022092-9311-2-git-send-email-sheetal.tigadoli@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399022092-9311-1-git-send-email-sheetal.tigadoli@gmail.com> References: <1399022092-9311-1-git-send-email-sheetal.tigadoli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sheetal T Signed-off-by: Sheetal T --- drivers/staging/comedi/drivers/das08.h | 56 +++++++++++++++++--------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/drivers/staging/comedi/drivers/das08.h b/drivers/staging/comedi/drivers/das08.h index 2a30d76..cc730ff 100644 --- a/drivers/staging/comedi/drivers/das08.h +++ b/drivers/staging/comedi/drivers/das08.h @@ -1,25 +1,24 @@ /* - das08.h - - Header for das08.c and das08_cs.c - - Copyright (C) 2003 Frank Mori Hess - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ + * das08.h + * + * Header for das08.c and das08_cs.c + * + * Copyright (C) 2003 Frank Mori Hess + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ #ifndef _DAS08_H #define _DAS08_H @@ -50,7 +49,8 @@ struct das08_board_struct { }; struct i8254_struct { - int channels; /* available channels. Some could be used internally. */ + int channels; /* available channels. + Some could be used internally. */ int logic2phys[3]; /* to know which physical channel is. */ int mode[3]; /* the index is the real counter. */ unsigned int iobase; @@ -62,11 +62,15 @@ struct i8254_struct { #define I8254_CTRL 3 struct das08_private_struct { - unsigned int do_mux_bits; /* bits for do/mux register on boards without separate do register */ - unsigned int do_bits; /* bits for do register on boards with register dedicated to digital out only */ + unsigned int do_mux_bits; /* bits for do/mux register on boards + without separate do register */ + unsigned int do_bits; /* bits for do register on boards with + register dedicated to digital out + only */ const unsigned int *pg_gainlist; - struct pci_dev *pdev; /* struct for pci-das08 */ - unsigned int pci_iobase; /* additional base address for pci-das08 */ + struct pci_dev *pdev; /* struct for pci-das08 */ + unsigned int pci_iobase; /* additional base address for + pci-das08 */ struct i8254_struct i8254; }; -- 1.7.9.5