[PATCH 60/60] staging: comedi: remove "comedi_fc.h"

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

 



None of the comedi low-level drivers include "comedi_fc.h" any longer,
so remove it.

Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
---
 drivers/staging/comedi/drivers/comedi_fc.h | 58 ------------------------------
 1 file changed, 58 deletions(-)
 delete mode 100644 drivers/staging/comedi/drivers/comedi_fc.h

diff --git a/drivers/staging/comedi/drivers/comedi_fc.h b/drivers/staging/comedi/drivers/comedi_fc.h
deleted file mode 100644
index 5765c61..0000000
--- a/drivers/staging/comedi/drivers/comedi_fc.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * comedi_fc.h
- * This is a place for code driver writers wish to share between
- * two or more drivers. These functions are meant to be used only
- * by drivers, they are NOT part of the kcomedilib API!
- *
- * Author: Frank Mori Hess <fmhess@xxxxxxxxxxxxxxxxxxxxx>
- * Copyright (C) 2002 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.
- */
-
-#ifndef _COMEDI_FC_H
-#define _COMEDI_FC_H
-
-#include "../comedidev.h"
-
-/*
- * This file will be removed once drivers have migrated to using the
- * replacement functions in "comedidev.h".
- */
-
-static inline int cfc_check_trigger_src(unsigned int *src, unsigned int flags)
-{
-	return comedi_check_trigger_src(src, flags);
-}
-
-static inline int cfc_check_trigger_is_unique(unsigned int src)
-{
-	return comedi_check_trigger_is_unique(src);
-}
-
-static inline int cfc_check_trigger_arg_is(unsigned int *arg, unsigned int val)
-{
-	return comedi_check_trigger_arg_is(arg, val);
-}
-
-static inline int cfc_check_trigger_arg_min(unsigned int *arg,
-					    unsigned int val)
-{
-	return comedi_check_trigger_arg_min(arg, val);
-}
-
-static inline int cfc_check_trigger_arg_max(unsigned int *arg,
-					    unsigned int val)
-{
-	return comedi_check_trigger_arg_max(arg, val);
-}
-
-#endif /* _COMEDI_FC_H */
-- 
2.1.4

_______________________________________________
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