RE: [PATCH] staging: comedi: remove comedi_board()

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

 



On Friday, September 12, 2014 2:11 AM, Ian Abbott wrote:
> All calls to the inline function `comedi_board()` in "comedidev.h" have
> been removed, so remove the function.
>
> Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
> ---
>  drivers/staging/comedi/comedidev.h | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
> index bda5304..7f4d7e5 100644
> --- a/drivers/staging/comedi/comedidev.h
> +++ b/drivers/staging/comedi/comedidev.h
> @@ -269,11 +269,6 @@ struct comedi_device {
>  	void (*close)(struct comedi_device *dev);
>  };
>  
> -static inline const void *comedi_board(const struct comedi_device *dev)
> -{
> -	return dev->board_ptr;
> -}
> -
>  /*
>   * function prototypes
>   */

Reviewed-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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