RE: [PATCH 3/7] staging: comedi: amplc_dio200: Remove forward function declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, May 31, 2012 6:09 AM, Ian Abbott wrote:
> Moved some functions and variables to avoid forward declarations.  Moved
> PCI table closer to the struct pci_driver that refers to it.
>
> Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
> ---
>  drivers/staging/comedi/drivers/amplc_dio200.c |  105 +++++++++++-------------
>  1 files changed, 48 insertions(+), 57 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/amplc_dio200.c b/drivers/staging/comedi/drivers/amplc_dio200.c
> index 2167697..daf5e52 100644
> --- a/drivers/staging/comedi/drivers/amplc_dio200.c
> +++ b/drivers/staging/comedi/drivers/amplc_dio200.c

<snip>

> +/*
> + * The struct comedi_driver structure tells the Comedi core module
> + * which functions to call to configure/deconfigure (attach/detach)
> + * the board, and also about the kernel module that contains
> + * the device code.
> + */

It makes some sense to leave this comment in the skel driver but
I don't think it's needed in the actual comedi drivers. 

Regards,
Hartley

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux