All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Staging: speakup: Introduce helper macro module_spk_synth
@ 2015-03-18 17:42 Vaishali Thakkar
  2015-03-18 17:43 ` [PATCH v6 1/2] Staging: speakup: Add helper macro for spk_synth boilerplate Vaishali Thakkar
  2015-03-18 17:43 ` [PATCH v4 2/2] Staging: speakup: Use module_spk_synth Vaishali Thakkar
  0 siblings, 2 replies; 3+ messages in thread
From: Vaishali Thakkar @ 2015-03-18 17:42 UTC (permalink / raw)
  To: outreachy-kernel

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 v1:
	- Add blank line after defining module_spk_synth 
Changes since v2:
	- Avoid adding unnecessory comments
Changes since v3:
	- Fix build warnings of v2

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-18 17:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 17:42 [PATCH v4 0/2] Staging: speakup: Introduce helper macro module_spk_synth Vaishali Thakkar
2015-03-18 17:43 ` [PATCH v6 1/2] Staging: speakup: Add helper macro for spk_synth boilerplate Vaishali Thakkar
2015-03-18 17:43 ` [PATCH v4 2/2] Staging: speakup: Use module_spk_synth Vaishali Thakkar

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.