[PATCH 0/6 V5] staging: nvec: code cleanups

Marc Dietrich marvin24 at gmx.de
Sun Jun 24 21:25:15 UTC 2012

This series cleanups the nvec code a bit. The LED driver is renamed to
paz00 because it only makes sense on this device.

Some plan for the future:
	- add device tree init for the mfd childs and remove the hard coded
	  (device dependent) init from the core driver
	- add a gpio and event driver
	- wait for tegra-slave support to arrive so the core driver can get
	  rid of its own i2c init (which will kill most of the ToDo list).
	- fix the rest and try to push all the stuff one directory upwards

Changes since V4:
	- split patch 3 into driver init and pm cleanup
	- drop patches 4 and 5 (they need more cleanup work before)

Changes since V3:
	- revert Change from V2->V3 again
	- pull out s/printk/drv_warn/ from first patch into a new patch

Changes since V2:
	- rebased against "[PATCH] Staging: nvec: fix coding style issues" from
	  Adnan Ali <adnan.ali at codethink.co.uk>

Changes since V1:
	- fix several format patch issues
	- add driver registration to the power supply driver
	- add remove functions to mfd cells

Marc Dietrich (6):
  staging: nvec: convert to devm_ functions
  staging: nvec: use dev_warn instead of printk
  staging: nvec: cleanup driver registration
  staging: nvec: cleanup powermanagement callbacks
  staging: nvec: rename led driver to board specific paz00 driver
  staging: nvec: add remove function to nvec childs

 drivers/staging/nvec/Kconfig                       |    9 ++-
 drivers/staging/nvec/Makefile                      |    2 +-
 drivers/staging/nvec/nvec.c                        |   77 ++++++++------------
 drivers/staging/nvec/nvec_kbd.c                    |   16 ++--
 drivers/staging/nvec/{nvec_leds.c => nvec_paz00.c} |   46 ++++--------
 drivers/staging/nvec/nvec_power.c                  |   32 +++++---
 drivers/staging/nvec/nvec_ps2.c                    |   35 ++++++---
 7 files changed, 108 insertions(+), 109 deletions(-)
 rename drivers/staging/nvec/{nvec_leds.c => nvec_paz00.c} (67%)


More information about the devel mailing list