lkml.org 
[lkml]   [2023]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Staging: greybus: Use inline functions
Date
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

\
 
 \ /
  Last update: 2023-03-27 01:16    [W:0.046 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site