staging: greybus: gpio: Replace macro irq_data_to_gpio_chip with function
authorBrent Pappas <bpappas@pappasbrent.com>
Tue, 17 Jan 2023 15:28:57 +0000 (10:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:18:54 +0000 (19:18 +0100)
commit72b74b646bdd61a4954b3225337d5f735a41761d
treedd3adb3bb574a2927bd4e2ae2c30fec89c4ff4fc
parent9ac9e59f15fdf45a531d4093dc2470c41031bb47
staging: greybus: gpio: Replace macro irq_data_to_gpio_chip with function

Replace the macro irq_data_to_gpio_chip with a static inline function to comply
with Linux coding style standards.

Signed-off-by: Brent Pappas <bpappas@pappasbrent.com>
Link: https://lore.kernel.org/r/20230117152857.22141-1-bpappas@pappasbrent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/gpio.c