diff options
| author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-03-18 20:43:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-20 15:27:13 +0300 |
| commit | c950a892cc302336d2a0900eba6d40ac0fb7cacb (patch) | |
| tree | f3edbe51b2d535f2ef3166425eaba82dda3e4f9a /scripts/patch-kernel | |
| parent | f6b43c2e85c631a05ab8aece0cbde5e12deb0701 (diff) | |
| download | linux-c950a892cc302336d2a0900eba6d40ac0fb7cacb.tar.xz | |
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 <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
