[Intel-gfx] [PATCH v3 5/7] drm/tinydrm: Drop using tinydrm_device

Noralf Trønnes noralf at tronnes.org
Wed Feb 27 17:03:33 UTC 2019



Den 27.02.2019 15.27, skrev Gerd Hoffmann:
> On Mon, Feb 25, 2019 at 03:42:30PM +0100, Noralf Trønnes wrote:
>> Use devm_drm_dev_init() and drop using tinydrm_device.
>>
>> v2: devm_drm_dev_register() was dropped so add driver release callbacks.
>>
>> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
>> ---
>>  drivers/gpu/drm/tinydrm/hx8357d.c  |  40 +++++++++--
>>  drivers/gpu/drm/tinydrm/ili9225.c  |  40 +++++++++--
>>  drivers/gpu/drm/tinydrm/ili9341.c  |  40 +++++++++--
>>  drivers/gpu/drm/tinydrm/mi0283qt.c |  40 +++++++++--
>>  drivers/gpu/drm/tinydrm/mipi-dbi.c |  67 +++++++++++-------
>>  drivers/gpu/drm/tinydrm/st7586.c   | 105 ++++++++++++++++-------------
>>  drivers/gpu/drm/tinydrm/st7735r.c  |  40 +++++++++--
>>  include/drm/tinydrm/mipi-dbi.h     |  26 ++++---
> 
> Hmm, repaper got its own patch and these are all bundled.
> Slightly confusing, but at the end of the day it doesn't matter much.
> 

They had to since they all use the mipi-dbi helper which had to be
changed. The repaper driver is the only one that didn't use that helper.

thanks,
Noralf.

> Acked-by: Gerd Hoffmann <kraxel at redhat.com>
> 


More information about the Intel-gfx mailing list