All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lidza Louina <lidza.louina@gmail.com>
To: driverdev-devel@linuxdriverproject.org,
	Greg KH <gregkh@linuxfoundation.org>,
	Mark Hounschell <markh@compro.net>
Cc: Lidza Louina <lidza.louina@gmail.com>
Subject: [PATCH 03/12] staging: dgap: removes references to proc code
Date: Wed, 21 Aug 2013 21:48:33 -0400	[thread overview]
Message-ID: <1377136122-13338-3-git-send-email-lidza.louina@gmail.com> (raw)
In-Reply-To: <1377136122-13338-1-git-send-email-lidza.louina@gmail.com>

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>
---
 drivers/staging/dgap/Makefile      | 2 +-
 drivers/staging/dgap/dgap_driver.c | 7 -------
 drivers/staging/dgap/dgap_fep5.c   | 2 +-
 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 0aa5cde..15b7704 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 b4f54ef..987ce21f 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 ce87752..604eae1 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 0062481..1147f1d 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]) {
-- 
1.8.1.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2013-08-22  1:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22  1:48 [PATCH 01/12] staging: dgap: adds dgap driver to staging Lidza Louina
2013-08-22  1:48 ` [PATCH 02/12] staging: dgap: fixes incompatible type error Lidza Louina
2013-08-22  1:48 ` Lidza Louina [this message]
2013-08-22  1:48 ` [PATCH 04/12] staging: dgap: fep5.c: fixes errors with tty function calls Lidza Louina
2013-08-22  1:48 ` [PATCH 05/12] staging: dgap: tty.c: " Lidza Louina
2013-08-22  1:48 ` [PATCH 06/12] staging: dgap: tty.c: fixes termios error Lidza Louina
2013-08-22  1:48 ` [PATCH 07/12] staging: dgap: tty.c: removes read_cnt, real_raw and rawreadok Lidza Louina
2013-08-22  1:48 ` [PATCH 08/12] staging: dgap: tty.c: fixes ioctl param list Lidza Louina
2013-08-23  8:47   ` Dan Carpenter
2013-08-23 12:42     ` Lidza Louina
2013-08-23 20:23   ` Dan Carpenter
2013-08-26 14:52     ` Lidza Louina
2013-08-27 17:20       ` Lidza Louina
2013-08-27 17:25         ` Mark Hounschell
2013-08-27 17:50           ` Lidza Louina
2013-08-27 18:53             ` Dan Carpenter
2013-08-22  1:48 ` [PATCH 09/12] staging: dgap: tty.c: fixes incompatible type error Lidza Louina
2013-08-22  1:48 ` [PATCH 10/12] staging: dgap: mgmt.c: removes unused variable Lidza Louina
2013-08-22  1:48 ` [PATCH 11/12] staging: dgap: ifdef HAVE_UNLOCKED_IOCTL conditionals Lidza Louina
2013-08-22  1:48 ` [PATCH 12/12] staging: dgap: adds driver to kernel build Lidza Louina
2013-08-22 17:12   ` Greg KH
2013-08-22 17:14   ` Greg KH
2013-08-22 17:30     ` Lidza Louina
2013-08-22  2:11 ` [PATCH 01/12] staging: dgap: adds dgap driver to staging Greg KH
2013-08-22 12:31   ` Lidza Louina
2013-08-22 17:09 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377136122-13338-3-git-send-email-lidza.louina@gmail.com \
    --to=lidza.louina@gmail.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=markh@compro.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.