Searched hist:c52391fafcefe4c562bdac62088a2735c185b942 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/auxdisplay/ |
H A D | img-ascii-lcd.c | diff c52391fafcefe4c562bdac62088a2735c185b942 Wed Nov 15 22:02:44 CET 2023 Rob Herring <robh@kernel.org> auxdisplay: img-ascii-lcd: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to get the driver match data. With this, adjust the includes to explicitly include the correct headers.
Signed-off-by: Rob Herring <robh@kernel.org> Cc: Paul Burton <paulburton@kernel.org> Link: https://lore.kernel.org/r/20231115210245.3744589-1-robh@kernel.org [ As discussed, used `dev` and moved call to `cfg`'s initialization. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|