Thread (3 messages) 3 messages, 2 authors, 2021-06-28

Re: Device match data and DT compatible string fallback

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-06-28 15:55:32

I could fix this in the driver by calling of_device_get_match_data() in
the probe function with dev->of_node is not NULL, but I feel this is
really an issue that should be handled by the framework. Has anyone ever
given it a thought ?
The of entries should also have .data entries and use that.

The driver could also be converted to probe_new to become independent of
the i2c_device_id.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help