linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Víctor Manuel Jáquez Leal" <vjaquez@igalia.com>
To: Omar Ramirez Luna <omar.ramirez@ti.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org, linux-omap@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Felipe Contreras <felipe.contreras@nokia.com>
Subject: [PATCH 00/17] staging: tidspbridge: remove unused references counting
Date: Fri,  9 Mar 2012 01:03:35 +0100	[thread overview]
Message-ID: <cover.1331250368.git.vjaquez@igalia.com> (raw)

Almos all the modules in tidspbridge have a _init() and a _exit()
functions, whose only purpose is to keep a reference counting. But that
reference counting, in most of the cases, is utterly useless.

This patch series removes most of the _init() and _exit() function in
the tidspbridge modules, where no functional changes were implied.

Víctor Manuel Jáquez Leal (17):
  staging: tidspbridge: remove drv_init() and drv_exit()
  staging: tidspbridge: remove cod_init() and cod_exit()
  staging: tidspbridge: remove proc_init() and proc_exit()
  staging: tidspbridge: remove node_init() and node_exit()
  staging: tidspbridge: remove disp_init() and disp_exit()
  staging: tidspbridge: remove strm_init() and strm_exit()
  staging: tidspbridge: remove rmm_init() and rmm_exit()
  staging: tidspbridge: remove chnl_init() and chnl_exit()
  staging: tidspbridge: remove msg_mod_init() and msg_exit()
  staging: tidspbridge: remove io_init() and io_exit()
  staging: tidspbridge: remove cmm_init() and cmm_exit()
  staging: tidspbridge: remove dmm_init() and dmm_exit()
  staging: tidspbridge: remove dev_init() and dev_exit()
  staging: tidspbridge: simplify mgr_init()
  staging: tidspbridge: remove gh_init() and gh_exit()
  staging: tidspbridge: remove ref counting in nldr.c
  staging: tidspbridge: remove nldr_init() and nldr_exit()

 drivers/staging/tidspbridge/gen/gh.c               |   18 -----
 .../staging/tidspbridge/include/dspbridge/chnl.h   |   29 --------
 .../staging/tidspbridge/include/dspbridge/cmm.h    |   30 --------
 .../staging/tidspbridge/include/dspbridge/cod.h    |   29 --------
 .../staging/tidspbridge/include/dspbridge/dev.h    |   27 -------
 .../staging/tidspbridge/include/dspbridge/disp.h   |   31 --------
 .../staging/tidspbridge/include/dspbridge/dmm.h    |    4 -
 .../staging/tidspbridge/include/dspbridge/drv.h    |   23 ------
 drivers/staging/tidspbridge/include/dspbridge/gh.h |    2 -
 drivers/staging/tidspbridge/include/dspbridge/io.h |   29 --------
 .../staging/tidspbridge/include/dspbridge/msg.h    |   27 -------
 .../staging/tidspbridge/include/dspbridge/nldr.h   |    2 -
 .../tidspbridge/include/dspbridge/nldrdefs.h       |   34 ---------
 .../staging/tidspbridge/include/dspbridge/node.h   |   41 -----------
 .../tidspbridge/include/dspbridge/nodepriv.h       |    1 -
 .../staging/tidspbridge/include/dspbridge/proc.h   |   28 -------
 .../staging/tidspbridge/include/dspbridge/rmm.h    |   25 -------
 .../staging/tidspbridge/include/dspbridge/strm.h   |   38 +----------
 drivers/staging/tidspbridge/pmgr/chnl.c            |   28 -------
 drivers/staging/tidspbridge/pmgr/cmm.c             |   29 --------
 drivers/staging/tidspbridge/pmgr/cod.c             |   29 --------
 drivers/staging/tidspbridge/pmgr/dbll.c            |   12 +---
 drivers/staging/tidspbridge/pmgr/dev.c             |   50 -------------
 drivers/staging/tidspbridge/pmgr/dmm.c             |   32 --------
 drivers/staging/tidspbridge/pmgr/dspapi.c          |   75 +------------------
 drivers/staging/tidspbridge/pmgr/io.c              |   28 -------
 drivers/staging/tidspbridge/pmgr/msg.c             |   21 ------
 drivers/staging/tidspbridge/rmgr/dbdcd.c           |   15 +----
 drivers/staging/tidspbridge/rmgr/disp.c            |   25 -------
 drivers/staging/tidspbridge/rmgr/drv.c             |   26 -------
 drivers/staging/tidspbridge/rmgr/mgr.c             |    9 +--
 drivers/staging/tidspbridge/rmgr/nldr.c            |   28 -------
 drivers/staging/tidspbridge/rmgr/node.c            |   31 --------
 drivers/staging/tidspbridge/rmgr/proc.c            |   28 -------
 drivers/staging/tidspbridge/rmgr/rmm.c             |   20 -----
 drivers/staging/tidspbridge/rmgr/strm.c            |   28 -------
 36 files changed, 10 insertions(+), 922 deletions(-)

-- 
1.7.9.1

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

             reply	other threads:[~2012-03-09  0:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09  0:03 Víctor Manuel Jáquez Leal [this message]
2012-03-09  0:03 ` [PATCH 01/17] staging: tidspbridge: remove drv_init() and drv_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 02/17] staging: tidspbridge: remove cod_init() and cod_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 03/17] staging: tidspbridge: remove proc_init() and proc_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 04/17] staging: tidspbridge: remove node_init() and node_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 05/17] staging: tidspbridge: remove disp_init() and disp_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 06/17] staging: tidspbridge: remove strm_init() and strm_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 07/17] staging: tidspbridge: remove rmm_init() and rmm_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 08/17] staging: tidspbridge: remove chnl_init() and chnl_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 09/17] staging: tidspbridge: remove msg_mod_init() and msg_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 10/17] staging: tidspbridge: remove io_init() and io_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 11/17] staging: tidspbridge: remove cmm_init() and cmm_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 12/17] staging: tidspbridge: remove dmm_init() and dmm_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 13/17] staging: tidspbridge: remove dev_init() and dev_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 14/17] staging: tidspbridge: simplify mgr_init() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 15/17] staging: tidspbridge: remove gh_init() and gh_exit() Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 16/17] staging: tidspbridge: remove ref counting in nldr.c Víctor Manuel Jáquez Leal
2012-03-09  0:03 ` [PATCH 17/17] staging: tidspbridge: remove nldr_init() and nldr_exit() Víctor Manuel Jáquez Leal

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=cover.1331250368.git.vjaquez@igalia.com \
    --to=vjaquez@igalia.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=felipe.contreras@nokia.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=omar.ramirez@ti.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).