outreachy.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Staging: greybus: Use inline functions
@ 2023-03-24  7:20 Sumitra Sharma
  2023-03-24  7:26 ` Sumitra Sharma
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Sumitra Sharma @ 2023-03-24  7:20 UTC (permalink / raw)
  To: outreachy
  Cc: johan, elder, gregkh, greybus-dev, linux-staging, linux-kernel,
	Sumitra Sharma

Convert macros to a static inline function, to make the relevant 
types apparent in the definition and to benefit from the type 
checking performed by the compiler at call sites.

CHanges in v2: Change patch subjects, noted by Alison Schofield 
<alison.schofield@intel.com>

Sumitra Sharma (3):
  Staging: greybus: Use inline function for macro
    gpio_chip_to_gb_gpio_controller
  Staging: greybus: Use inline function for gb_audio_manager_module
  Staging: greybus: Use inline function for pwm_chip_to_gb_pwm_chip

 drivers/staging/greybus/audio_manager_module.c | 7 +++++--
 drivers/staging/greybus/gpio.c                 | 7 +++++--
 drivers/staging/greybus/pwm.c                  | 6 ++++--
 3 files changed, 14 insertions(+), 6 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-03-24 16:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24  7:20 [PATCH v2 0/3] Staging: greybus: Use inline functions Sumitra Sharma
2023-03-24  7:26 ` Sumitra Sharma
2023-03-24  7:29 ` Sumitra Sharma
2023-03-24  7:29 ` [PATCH v2 1/3] Staging: greybus: Use inline function for macro gpio_chip_to_gb_gpio_controller Sumitra Sharma
2023-03-24  7:30 ` [PATCH v2 2/3] Staging: greybus: Use inline function for gb_audio_manager_module Sumitra Sharma
2023-03-24  7:30 ` [PATCH v2 3/3] Staging: greybus: Use inline function for pwm_chip_to_gb_pwm_chip Sumitra Sharma
2023-03-24 15:28 ` [PATCH v2 0/3] Staging: greybus: Use inline functions Alison Schofield
2023-03-24 16:19   ` Sumitra Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).