summaryrefslogtreecommitdiff
path: root/rust/helpers/page.c
diff options
context:
space:
mode:
authorZong Jiang <quic_zongjian@quicinc.com>2025-08-12 13:48:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-14 11:59:29 +0200
commitc3e7966c60745f87a0b73672a85c920099f90a7e (patch)
treeb7724e492107e44820deb8cab86deb35155fe605 /rust/helpers/page.c
parent8672b18cde548748ac04a3aa247369ac2d4c2985 (diff)
serial: qcom-geni: Dynamically allocate UART ports
Replace the static allocation of UART ports with dynamic allocation using devm_kzalloc. This change removes the fixed-size array and instead allocates each UART port structure on demand during probe, improving memory efficiency and scalability. Signed-off-by: Zong Jiang <quic_zongjian@quicinc.com> Link: https://lore.kernel.org/r/20250812054819.3748649-2-quic_zongjian@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/page.c')
0 files changed, 0 insertions, 0 deletions