staging: greybus: Inline gb_audio_manager_module()
authorSumitra Sharma <sumitraartsy@gmail.com>
Sat, 25 Mar 2023 08:31:06 +0000 (01:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:54:52 +0000 (09:54 +0100)
commitf5aca1a63e83178374195d3a26790091fdf2ed05
treede81adfdb0a4009733ffd595618aac2cead64e8f
parentf48198232d605a0d29f1e11235a6f6142b074b39
staging: greybus: Inline gb_audio_manager_module()

Convert 'gb_audio_manager_module' from a macro 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.

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
Link: https://lore.kernel.org/r/7470bf9d9a57e8bf27e55bd5e3791c5e0ee31385.1679732179.git.sumitraartsy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_manager_module.c