From: Andy Shevchenko Date: Fri, 31 Jan 2020 20:49:26 +0000 (+0200) Subject: drm/tiny/st7735r: Make driver OF-independent X-Git-Tag: Ubuntu-5.13.0-19.19~6365^2~20^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5703d6ae95739299398d83069cb4a4cf859e6884;p=mirror_ubuntu-jammy-kernel.git drm/tiny/st7735r: Make driver OF-independent There is one OF call in the driver that limits its area of use. Replace it to generic device_get_match_data() and get rid of OF dependency. Cc: Noralf Trønnes Cc: dri-devel@lists.freedesktop.org Cc: David Airlie Cc: Daniel Vetter Cc: Sam Ravnborg Signed-off-by: Andy Shevchenko Acked-by: David Lechner Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20200131204923.48928-3-andriy.shevchenko@linux.intel.com --- diff --git a/drivers/gpu/drm/tiny/st7735r.c b/drivers/gpu/drm/tiny/st7735r.c index 32574f1b6071..a844cde6d14a 100644 --- a/drivers/gpu/drm/tiny/st7735r.c +++ b/drivers/gpu/drm/tiny/st7735r.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include