From: Axel Lin Date: Wed, 4 Apr 2012 06:50:15 +0000 (-0700) Subject: Input: serio - add helper macro for serio_driver boilerplate X-Git-Tag: v3.5-rc1~103^2^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa7f86d157781515b74d658120552eafd890f4de;p=pandora-kernel.git Input: serio - add helper macro for serio_driver boilerplate This patch introduces the module_serio_driver macro which is a convenience macro for serio 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 serio driver. By using this macro it is possible to eliminate a few lines of boilerplate code per serio 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