On 5/18/26 23:13, Rosen Penev wrote:
Use of_device_get_match_data() to fetch the platform ID entry directly
instead of open-coding an of_match_device() lookup. No NULL check is
needed as every compatible string has a corresponding data section.

This also lets the driver drop the of_device.h include.

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <[email protected]>
---
  drivers/video/fbdev/imxfb.c | 6 +-----
  1 file changed, 1 insertion(+), 5 deletions(-)

applied.

Thanks!
Helge

Reply via email to