aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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 /tools/perf/scripts/python
parenttty: serial: mvebu-uart: convert from round_rate() to determine_rate() (diff)
downloadlinux-c3e7966c60745f87a0b73672a85c920099f90a7e.tar.gz
linux-c3e7966c60745f87a0b73672a85c920099f90a7e.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions