parport: convert drivers/parport/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sun, 27 Nov 2011 04:43:49 +0000 (12:43 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 11:11:46 +0000 (20:11 +0900)
commit782ee87702fbd0a175da64a8e71e029b19ef97bf
tree409b10e9dc2293b6c54d3861de3386b703521083
parentbb74041b1367b4935b8284a2b541f5e4365d3f50
parport: convert drivers/parport/* to use module_platform_driver()

This patch converts the drivers in drivers/parport/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Ben Dooks <ben@simtec.co.uk>
Cc: Derrick J. Brashear <shadow@dementia.org>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/parport/parport_ax88796.c
drivers/parport/parport_sunbpp.c