]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: htc-egpio: allocate irq with the main struct
authorRosen Penev <rosenp@gmail.com>
Mon, 9 Mar 2026 22:52:04 +0000 (15:52 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 11 Mar 2026 08:45:22 +0000 (09:45 +0100)
commit223d9a310c7bd785f08320de8d2b66a5af6a25e6
treea2f9e532ce15cd6b0ad868d99bdf6fbc877047fc
parent0258fe8721f541bbd3949cac2f4971b98e1fe4ed
gpio: htc-egpio: allocate irq with the main struct

Use a flexible array member to combinwe allocations.

Add __counted_by for extra runtime analysis.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260309225204.44789-1-rosenp@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-htc-egpio.c