tty: serial: qcom-geni-serial: use of_device_id data
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 29 Dec 2022 15:50:28 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:08:25 +0000 (15:08 +0100)
commit40ec6d41c841e27a1e12ac7766a5361e3ff0cb5b
tree81643e1a84f51f663dc443b3fbdcaf9ca2331a9b
parent0626afe57b1f02a961e18802ea445dc562bdf77b
tty: serial: qcom-geni-serial: use of_device_id data

Instead of checking the device compatible in probe(), assign the
device-specific data to struct of_device_id. We'll use it later when
providing SE DMA support.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20221229155030.418800-13-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c