All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] staging: tidspbridge: various cleanups
@ 2010-10-22 12:57 Ionut Nicu
  2010-10-22 12:57 ` [PATCH 1/4] staging: tidspbridge: remove gs memory allocator Ionut Nicu
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Ionut Nicu @ 2010-10-22 12:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Omar Ramirez Luna
  Cc: Fernando Guzman Lugo, Felipe Contreras, linux-omap, Ionut Nicu

This set of patches replaces some of the redundant components of
the tidspbridge driver, such as:

* wrapper functions for kmalloc/kfree
* custom bitmap implementation
* custom linked list implementation (list_head wrapper)

with the standard linux kernel interfaces.

The patches also do some code reorganization for increasing readability.
Most of the changes reduce the code indentation level and simplify the code.
No functional changes were done.

There are many places in this driver that need this kind of cleanup, but
these patches only fix the functions that were touched while switching
to struct list_head instead of struct lst_list.

Ionut Nicu (4):
  staging: tidspbridge: remove gs memory allocator
  staging: tidspbridge: remove utildefs
  staging: tidspbridge: remove gb bitmap implementation
  staging: tidspbridge: remove custom linked list

 drivers/staging/tidspbridge/Makefile               |    2 +-
 drivers/staging/tidspbridge/TODO                   |    1 -
 drivers/staging/tidspbridge/core/_msg_sm.h         |   12 +-
 drivers/staging/tidspbridge/core/chnl_sm.c         |  631 ++++++++----------
 drivers/staging/tidspbridge/core/io_sm.c           |  250 +++----
 drivers/staging/tidspbridge/core/msg_sm.c          |  600 +++++++----------
 drivers/staging/tidspbridge/gen/gb.c               |  166 -----
 drivers/staging/tidspbridge/gen/gh.c               |   38 +-
 drivers/staging/tidspbridge/gen/gs.c               |   88 ---
 .../tidspbridge/include/dspbridge/_chnl_sm.h       |    8 +-
 .../tidspbridge/include/dspbridge/cmmdefs.h        |    2 -
 drivers/staging/tidspbridge/include/dspbridge/gb.h |   79 ---
 drivers/staging/tidspbridge/include/dspbridge/gs.h |   59 --
 .../staging/tidspbridge/include/dspbridge/list.h   |  225 -------
 .../staging/tidspbridge/include/dspbridge/sync.h   |    1 +
 .../tidspbridge/include/dspbridge/utildefs.h       |   39 --
 drivers/staging/tidspbridge/pmgr/cmm.c             |  538 ++++++---------
 drivers/staging/tidspbridge/pmgr/dev.c             |   65 +--
 drivers/staging/tidspbridge/rmgr/drv.c             |  240 +++-----
 drivers/staging/tidspbridge/rmgr/node.c            |  702 +++++++++-----------
 drivers/staging/tidspbridge/rmgr/proc.c            |    3 +-
 drivers/staging/tidspbridge/rmgr/rmm.c             |  314 ++++------
 22 files changed, 1408 insertions(+), 2655 deletions(-)
 delete mode 100644 drivers/staging/tidspbridge/gen/gb.c
 delete mode 100644 drivers/staging/tidspbridge/gen/gs.c
 delete mode 100644 drivers/staging/tidspbridge/include/dspbridge/gb.h
 delete mode 100644 drivers/staging/tidspbridge/include/dspbridge/gs.h
 delete mode 100644 drivers/staging/tidspbridge/include/dspbridge/list.h
 delete mode 100644 drivers/staging/tidspbridge/include/dspbridge/utildefs.h

-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-25  7:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22 12:57 [PATCH 0/4] staging: tidspbridge: various cleanups Ionut Nicu
2010-10-22 12:57 ` [PATCH 1/4] staging: tidspbridge: remove gs memory allocator Ionut Nicu
2010-10-22 12:57 ` [PATCH 2/4] staging: tidspbridge: remove utildefs Ionut Nicu
2010-10-22 12:57 ` [PATCH 3/4] staging: tidspbridge: remove gb bitmap implementation Ionut Nicu
2010-10-22 13:18   ` Andy Shevchenko
2010-10-22 14:08     ` Ionut Nicu
2010-10-22 16:00       ` Andy Shevchenko
2010-10-23 20:28       ` Sapiens, Rene
2010-10-25  7:54         ` Ionut Nicu
2010-10-22 13:58 ` [PATCH 0/4] staging: tidspbridge: various cleanups Greg KH

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.