All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/2] Convert macros to static inline functions
Date: Sat, 19 Mar 2016 01:14:57 +0530	[thread overview]
Message-ID: <cover.1458330202.git.bhaktipriya96@gmail.com> (raw)

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



             reply	other threads:[~2016-03-18 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 19:44 Bhaktipriya Shridhar [this message]
2016-03-18 19:45 ` [PATCH 1/2] staging: comedi: drivers: amplc_pci224: Convert macros to static inline functions 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

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.1458330202.git.bhaktipriya96@gmail.com \
    --to=bhaktipriya96@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.