[PATCH v2] staging: dgnc: removes proc code

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

 



This patch removes the dgnc_proc.c file, all references to proc
functions in dgnc_driver.c and from the Makefile's build.

Drivers now use sysfs instead of proc.

Signed-off-by: Lidza Louina <lidza.louina@xxxxxxxxx>
---
 drivers/staging/dgnc/Makefile      | 2 +-
 drivers/staging/dgnc/dgnc_driver.c | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile
index c4c96dc..888c433 100644
--- a/drivers/staging/dgnc/Makefile
+++ b/drivers/staging/dgnc/Makefile
@@ -4,4 +4,4 @@ obj-$(CONFIG_DGNC) += dgnc.o
 
 dgnc-objs :=   dgnc_cls.o dgnc_driver.o\
                dgnc_mgmt.o dgnc_neo.o\
-               dgnc_proc.o dgnc_trace.o dgnc_tty.o dgnc_sysfs.o
+               dgnc_trace.o dgnc_tty.o dgnc_sysfs.o
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index cf68002..5a61581 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -313,11 +313,6 @@ static int dgnc_start(void)
                }
 
                /*
-                * Register our basic stuff in /proc/dgnc
-                */
-               dgnc_proc_register_basic_prescan();
-
-               /*
                 * Init any global tty stuff.
                 */
                rc = dgnc_tty_preinit();
@@ -401,8 +396,6 @@ void dgnc_cleanup_module(void)
        /* Turn off poller right away. */
        del_timer_sync(&dgnc_poll_timer);
 
-       dgnc_proc_unregister_all();
-
        dgnc_remove_driver_sysfiles(&dgnc_driver);
 
        if (dgnc_Major_Control_Registered) {
@@ -742,8 +735,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
         */
        brd->flipbuf = dgnc_driver_kzmalloc(MYFLIPLEN, GFP_KERNEL);
 
-       dgnc_proc_register_basic_postscan(dgnc_NumBoards);
-
        wake_up_interruptible(&brd->state_wait);
 
         return(0);
-- 
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