All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Staging: speakup: Introduce helper macro module_spk_synth
@ 2015-03-17 10:36 Vaishali Thakkar
  2015-03-17 10:36 ` [PATCH v4 1/2] Staging: speakup: Add helper macro for spk_synth boilerplate Vaishali Thakkar
  2015-03-17 10:36 ` [PATCH v2 2/2] Staging: speakup: Use module_spk_synth Vaishali Thakkar
  0 siblings, 2 replies; 5+ messages in thread
From: Vaishali Thakkar @ 2015-03-17 10:36 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 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



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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 10:36 [PATCH v2 0/2] Staging: speakup: Introduce helper macro module_spk_synth Vaishali Thakkar
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

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.