[PATCH 1/3] staging: dgap: removes references to proc code

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

 



This patch removes references to proc functions and
structs in the code. The kernel uses sysfs instead
of proc now.

Signed-off-by: Lidza Louina <lidza.louina@xxxxxxxxx>
---
 drivers/staging/dgap/dgap_driver.h | 8 --------
 drivers/staging/dgap/dgap_fep5.c   | 2 --
 2 files changed, 10 deletions(-)

diff --git a/drivers/staging/dgap/dgap_driver.h b/drivers/staging/dgap/dgap_driver.h
index b76ec3c..b1cf489 100644
--- a/drivers/staging/dgap/dgap_driver.h
+++ b/drivers/staging/dgap/dgap_driver.h
@@ -412,10 +412,6 @@ struct board_t
 	 */
         char		*msgbuf_head;
         char		*msgbuf;
-
-	/* /proc/<board> entries */
-	struct proc_dir_entry *proc_entry_pointer;
-	struct dgap_proc_entry *dgap_board_table;
 };
 
 
@@ -564,10 +560,6 @@ struct channel_t {
 	ulong	ch_err_break;		/* Count of breaks on channel	*/
 	ulong	ch_err_overrun;		/* Count of overruns on channel	*/
 
-	/* /proc/<board>/<channel> entries */
-	struct proc_dir_entry *proc_entry_pointer;
-	struct dgap_proc_entry *dgap_channel_table;
-
 	uint ch_sniff_in;
 	uint ch_sniff_out;
 	char *ch_sniff_buf;		/* Sniff buffer for proc */
diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c
index 45b0f28..291b414 100644
--- a/drivers/staging/dgap/dgap_fep5.c
+++ b/drivers/staging/dgap/dgap_fep5.c
@@ -133,8 +133,6 @@ int dgap_after_config_loaded(void)
 		 */
 		dgap_Board[i]->flipbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC);
 		dgap_Board[i]->flipflagbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC);
-
-		//dgap_proc_register_basic_postscan(i);
 	}
 
 	return (rc);
-- 
1.8.1.2

_______________________________________________
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