Commit 1c2aa15a authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman

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: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fc5a8990
...@@ -4,6 +4,6 @@ obj-$(CONFIG_DGAP) += dgap.o ...@@ -4,6 +4,6 @@ obj-$(CONFIG_DGAP) += dgap.o
dgap-objs := dgap_driver.o dgap_fep5.o dgap_mgmt.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 dgap_tty.o dgap_sysfs.o
...@@ -331,11 +331,6 @@ static int dgap_start(void) ...@@ -331,11 +331,6 @@ static int dgap_start(void)
dgap_Major_Control_Registered = TRUE; dgap_Major_Control_Registered = TRUE;
} }
/*
* Register our basic stuff in /proc/dgap
*/
dgap_proc_register_basic_prescan();
/* /*
* Init any global tty stuff. * Init any global tty stuff.
*/ */
...@@ -423,8 +418,6 @@ void dgap_cleanup_module(void) ...@@ -423,8 +418,6 @@ void dgap_cleanup_module(void)
/* Turn off poller right away. */ /* Turn off poller right away. */
del_timer_sync( &dgap_poll_timer); del_timer_sync( &dgap_poll_timer);
dgap_proc_unregister_all();
dgap_remove_driver_sysfiles(&dgap_driver); dgap_remove_driver_sysfiles(&dgap_driver);
......
...@@ -135,7 +135,7 @@ int dgap_after_config_loaded(void) ...@@ -135,7 +135,7 @@ int dgap_after_config_loaded(void)
dgap_Board[i]->flipbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC); dgap_Board[i]->flipbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC);
dgap_Board[i]->flipflagbuf = 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); return (rc);
......
...@@ -296,7 +296,7 @@ int dgap_mgmt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un ...@@ -296,7 +296,7 @@ int dgap_mgmt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un
case NEED_PROC_CREATION: case NEED_PROC_CREATION:
DGAP_UNLOCK(brd->bd_lock, lock_flags); 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]; ch = brd->channels[0];
for (j = 0; j < brd->nasync; j++, ch = brd->channels[j]) { for (j = 0; j < brd->nasync; j++, ch = brd->channels[j]) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment