Re: [PATCH 4/6] drm/tinydrm: mipi-panel: refactor to use driver id

2017-07-30 Thread Andy Shevchenko
On Sat, Jul 29, 2017 at 10:17 PM, David Lechner wrote: > This refactors the mipi-panel module to use the driver id for panel-specific > data. This is in preparation for adding additional panels. > Wouldn't be better to split glue driver from what looks like more generic in the first place? Then y

[PATCH 4/6] drm/tinydrm: mipi-panel: refactor to use driver id

2017-07-29 Thread David Lechner
This refactors the mipi-panel module to use the driver id for panel-specific data. This is in preparation for adding additional panels. Signed-off-by: David Lechner --- drivers/gpu/drm/tinydrm/mipi-panel.c | 40 include/drm/tinydrm/mipi-dbi.h | 2 ++ 2