commit | 91ea2f29cba6a7fe035ea232e4f981211a9fce5d | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Thu Oct 20 11:43:39 2016 +0800 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Thu Oct 20 17:58:33 2016 +0200 |
tree | 9a9bdf552a8f53783c8d6aa5c303bbd2b4bb57e6 | |
parent | b3e0b2dba870cc2f1d614a0f04459c18d8bf71a3 [diff] |
drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure We already have some differences between the 2 supported SoCs. More will be added as we support other SoCs. To avoid bloating the probe function with even more conditionals, move the quirks to a separate data structure that's tied to the compatible string. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>