All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Staging: greybus: Convert macro definitions to
@ 2023-03-23  9:01 Sumitra Sharma
  2023-03-23  9:03 ` [PATCH 1/3] Staging: greybus: Convert macro gpio_chip_to_gb_gpio_controller to an inline function Sumitra Sharma
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sumitra Sharma @ 2023-03-23  9:01 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.

Sumitra Sharma (3):
  Staging: greybus: Convert macro gpio_chip_to_gb_gpio_controller to an
    inline function
  Staging: greybus: Convert macro struct gb_audio_manager_module to an
    inline function
  Staging: greybus: Convert macro struct pwm_chip_to_gb_pwm_chip to an
    inline function

 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] 5+ messages in thread

end of thread, other threads:[~2023-03-23 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23  9:01 [PATCH 0/3] Staging: greybus: Convert macro definitions to Sumitra Sharma
2023-03-23  9:03 ` [PATCH 1/3] Staging: greybus: Convert macro gpio_chip_to_gb_gpio_controller to an inline function Sumitra Sharma
2023-03-23  9:03 ` [PATCH 2/3] Staging: greybus: Convert macro struct gb_audio_manager_module " Sumitra Sharma
2023-03-23  9:03 ` [PATCH 3/3] Staging: greybus: Convert macro struct pwm_chip_to_gb_pwm_chip " Sumitra Sharma
2023-03-23 17:36 ` [PATCH 0/3] Staging: greybus: Convert macro definitions to Alison Schofield

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.