Commit c52391fa authored by Rob Herring's avatar Rob Herring Committed by Miguel Ojeda
Browse files

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: default avatarRob 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: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 2cc14f52
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment