From: Vaishali Thakkar Date: Wed, 18 Mar 2015 17:43:04 +0000 (+0530) Subject: Staging: speakup: Add helper macro for spk_synth boilerplate X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~309 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c950a892cc302336d2a0900eba6d40ac0fb7cacb;p=pandora-kernel.git Staging: speakup: Add helper macro for spk_synth boilerplate For simple modules that contain a single spk_synth without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_spk_synth(), which replaces the module_init()/module_exit() registrations with template functions. Signed-off-by: Vaishali Thakkar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed