All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Convert macros to static inline functions
@ 2016-03-18 19:44 Bhaktipriya Shridhar
  2016-03-18 19:45 ` [PATCH 1/2] staging: comedi: drivers: amplc_pci224: " Bhaktipriya Shridhar
  2016-03-18 19:46 ` [PATCH 2/2] staging: comedi: drivers: amplc_pci230: " Bhaktipriya Shridhar
  0 siblings, 2 replies; 4+ messages in thread
From: Bhaktipriya Shridhar @ 2016-03-18 19:44 UTC (permalink / raw)
  To: outreachy-kernel

Convert macros CLK_CONFIG and GAT_CONFIG into static inline
functions as static inline functions are preferred over macros. This
change is possible since the arguments at all call sites have the same
type. Also, both the macros have same type of arguments and return
values. They have been renamed in lowecase.

Bhaktipriya Shridhar (2):
  staging: comedi: drivers: amplc_pci224: Convert macros to static
    inline functions
  staging: comedi: drivers: amplc_pci230: Convert macros to static
    inline functions

 drivers/staging/comedi/drivers/amplc_pci224.c | 16 ++++++-----
 drivers/staging/comedi/drivers/amplc_pci230.c | 38 +++++++++++++++------------
 2 files changed, 31 insertions(+), 23 deletions(-)

--
2.1.4



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 19:44 [PATCH 0/2] Convert macros to static inline functions Bhaktipriya Shridhar
2016-03-18 19:45 ` [PATCH 1/2] staging: comedi: drivers: amplc_pci224: " Bhaktipriya Shridhar
2016-03-18 19:46 ` [PATCH 2/2] staging: comedi: drivers: amplc_pci230: " Bhaktipriya Shridhar
2016-03-18 20:13   ` [Outreachy kernel] " Arnd Bergmann

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.