]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: qcom-geni: move resource initialization to separate function
authorPraveen Talari <quic_ptalari@quicinc.com>
Mon, 21 Jul 2025 17:45:28 +0000 (23:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2025 16:52:50 +0000 (18:52 +0200)
commit4b2601ae3066daba5674049e83376317f66d45e8
treea5e6938d6309dfa417cafd81a9f7bae6dfe33d47
parentf5b16f28fa8b8f7aa3e66d21b486aee2ffd68608
serial: qcom-geni: move resource initialization to separate function

Enhances code readability and future modifications within the new API.

Move the code that handles the actual initialization of resources
like clock and ICC paths to a separate function, making the
probe function cleaner.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
Link: https://lore.kernel.org/r/20250721174532.14022-5-quic_ptalari@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c