From: Vaishali Thakkar <vthakkar1994@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH v2 0/2] Staging: speakup: Introduce helper macro module_spk_synth
Date: Tue, 17 Mar 2015 16:06:11 +0530 [thread overview]
Message-ID: <cover.1426586934.git.vthakkar1994@gmail.com> (raw)
This patch-set adds new macro module_spk_synth for
simple modules that contain a single spk_synth without
any additional setup code then ends up being a block of
duplicated boilerplate. Macro module_spk_synth replaces
module_init()/module_exit() registrations with template
functions. So, patch-set also handles all such cases
where module_spk_synth can be used.
Changes since v2:
- Add blank line after defining module_spk_synth
Vaishali Thakkar (2):
Staging: speakup: Add helper macro for spk_synth boilerplate
Staging: speakup: Use module_spk_synth
drivers/staging/speakup/speakup_acntpc.c | 12 +-----------
drivers/staging/speakup/speakup_acntsa.c | 12 +-----------
drivers/staging/speakup/speakup_apollo.c | 12 +-----------
drivers/staging/speakup/speakup_audptr.c | 12 +-----------
drivers/staging/speakup/speakup_bns.c | 12 +-----------
drivers/staging/speakup/speakup_decext.c | 12 +-----------
drivers/staging/speakup/speakup_decpc.c | 12 +-----------
drivers/staging/speakup/speakup_dectlk.c | 12 +-----------
drivers/staging/speakup/speakup_dtlk.c | 12 +-----------
drivers/staging/speakup/speakup_dummy.c | 12 +-----------
drivers/staging/speakup/speakup_keypc.c | 12 +-----------
drivers/staging/speakup/speakup_ltlk.c | 12 +-----------
drivers/staging/speakup/speakup_soft.c | 13 +------------
drivers/staging/speakup/speakup_spkout.c | 12 +-----------
drivers/staging/speakup/speakup_txprt.c | 12 +-----------
drivers/staging/speakup/spk_types.h | 11 +++++++++++
16 files changed, 26 insertions(+), 166 deletions(-)
--
1.9.1
next reply other threads:[~2015-03-17 10:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 10:36 Vaishali Thakkar [this message]
2015-03-17 10:36 ` [PATCH v4 1/2] Staging: speakup: Add helper macro for spk_synth boilerplate Vaishali Thakkar
2015-03-17 13:10 ` [Outreachy kernel] " Greg KH
2015-03-17 13:18 ` Vaishali Thakkar
2015-03-17 10:36 ` [PATCH v2 2/2] Staging: speakup: Use module_spk_synth Vaishali Thakkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1426586934.git.vthakkar1994@gmail.com \
--to=vthakkar1994@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.