]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tiny/st7735r: Make driver OF-independent
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Jan 2020 20:49:26 +0000 (22:49 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 10 Feb 2020 01:54:47 +0000 (02:54 +0100)
commit7a9bc0cdd2e5a2c0842d0f713a2f026f23278af6
tree7de1e2dec7e4c224916f66701836c8032f977ae9
parenta7ce2c110464ae090e0cc77d22350ed26a0f07c6
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 <noralf@tronnes.org>
Cc: dri-devel@lists.freedesktop.org
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David Lechner <david@lechnology.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131204923.48928-3-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/tiny/st7735r.c