From: Axel Lin Date: Wed, 4 Apr 2012 06:51:08 +0000 (-0700) Subject: Input: gameport - add helper macro for gameport_driver boilerplate X-Git-Tag: v3.5-rc1~103^2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45b2604eaaa105223ce60117b0482ca8a488f9c4;p=pandora-kernel.git Input: gameport - add helper macro for gameport_driver boilerplate This patch introduces the module_gameport_driver macro which is a convenience macro for gameport driver modules similar to module_platform_driver. It is intended to be used by drivers which init/exit section does nothing but registers/unregisters the gameport driver. By using this macro it is possible to eliminate a few lines of boilerplate code per gameport driver. Based on work done by Lars-Peter Clausen for other buses (i2c and spi). Signed-off-by: Axel Lin Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed