diff options
author | Lidza Louina <lidza.louina@gmail.com> | 2013-08-21 21:48:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-22 10:12:42 -0700 |
commit | 1c2aa15ae4e33d6bfb4b068967bb451618db6bec (patch) | |
tree | d7ee22b76188b8f7ccfd62750457217f2421efd6 /drivers/staging/dgap | |
parent | fc5a89904c8a6ef9bc47cecd1e068b8ba285dc22 (diff) |
staging: dgap: removes references to proc code
This patch removes references to proc code in this
driver. It still has proc.c, proc.h and a board
state called NEEDS_PROC_CREATION. All three of
these will be removed in another patch.
Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r-- | drivers/staging/dgap/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/dgap/dgap_driver.c | 7 | ||||
-rw-r--r-- | drivers/staging/dgap/dgap_fep5.c | 2 | ||||
-rw-r--r-- | drivers/staging/dgap/dgap_mgmt.c | 2 |
4 files changed, 3 insertions, 10 deletions
diff --git a/drivers/staging/dgap/Makefile b/drivers/staging/dgap/Makefile index 0aa5cde2c823..15b7704cd5b7 100644 --- a/drivers/staging/dgap/Makefile +++ b/drivers/staging/dgap/Makefile @@ -4,6 +4,6 @@ obj-$(CONFIG_DGAP) += dgap.o dgap-objs := dgap_driver.o dgap_fep5.o dgap_mgmt.o \ - dgap_parse.o dgap_proc.o dgap_trace.o \ + dgap_parse.o dgap_trace.o \ dgap_tty.o dgap_sysfs.o diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c index b4f54ef8493d..987ce21f19ef 100644 --- a/drivers/staging/dgap/dgap_driver.c +++ b/drivers/staging/dgap/dgap_driver.c @@ -332,11 +332,6 @@ static int dgap_start(void) } /* - * Register our basic stuff in /proc/dgap - */ - dgap_proc_register_basic_prescan(); - - /* * Init any global tty stuff. */ rc = dgap_tty_preinit(); @@ -423,8 +418,6 @@ void dgap_cleanup_module(void) /* Turn off poller right away. */ del_timer_sync( &dgap_poll_timer); - dgap_proc_unregister_all(); - dgap_remove_driver_sysfiles(&dgap_driver); diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c index ce87752b9172..604eae1f785d 100644 --- a/drivers/staging/dgap/dgap_fep5.c +++ b/drivers/staging/dgap/dgap_fep5.c @@ -135,7 +135,7 @@ 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); + //dgap_proc_register_basic_postscan(i); } return (rc); diff --git a/drivers/staging/dgap/dgap_mgmt.c b/drivers/staging/dgap/dgap_mgmt.c index 00624816d252..1147f1d425fb 100644 --- a/drivers/staging/dgap/dgap_mgmt.c +++ b/drivers/staging/dgap/dgap_mgmt.c @@ -296,7 +296,7 @@ get_service: case NEED_PROC_CREATION: DGAP_UNLOCK(brd->bd_lock, lock_flags); - dgap_proc_register_channel_postscan(brd->boardnum); + //dgap_proc_register_channel_postscan(brd->boardnum); ch = brd->channels[0]; for (j = 0; j < brd->nasync; j++, ch = brd->channels[j]) { |