staging: nvec: cleanup driver registration
authorMarc Dietrich <marvin24@gmx.de>
Sun, 24 Jun 2012 21:25:18 +0000 (23:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jun 2012 17:55:37 +0000 (10:55 -0700)
commit9891b1ce6276912c54f66b7b0c8c1bcc42ca75eb
tree8530141374451c4ee19bd6615bde9af6d73fa173
parent50d4656a2304e48917a8e2b9df99f69d50b8a0aa
staging: nvec: cleanup driver registration

This patch simplifies code by using the module_platform_driver
macro.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec_kbd.c
drivers/staging/nvec/nvec_leds.c
drivers/staging/nvec/nvec_power.c
drivers/staging/nvec/nvec_ps2.c