Re: [PATCH 2/2] drm: omapdrm: Simplify platform registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/12/17 22:29, Andrew F. Davis wrote:
Currently, calls into each file are used to register the various
platform drivers. Change this to a table of pointers to platform_driver
structs to allow using platform_register_drivers.

Signed-off-by: Andrew F. Davis <afd@xxxxxx>
---
  drivers/gpu/drm/omapdrm/dss/core.c  | 51 +++++++++++--------------------------
  drivers/gpu/drm/omapdrm/dss/dispc.c | 12 +--------
  drivers/gpu/drm/omapdrm/dss/dsi.c   | 12 +--------
  drivers/gpu/drm/omapdrm/dss/dss.c   | 12 +--------
  drivers/gpu/drm/omapdrm/dss/dss.h   | 35 +++++++++++--------------
  drivers/gpu/drm/omapdrm/dss/hdmi4.c | 12 +--------
  drivers/gpu/drm/omapdrm/dss/hdmi5.c | 12 +--------
  drivers/gpu/drm/omapdrm/dss/venc.c  | 12 +--------
  8 files changed, 36 insertions(+), 122 deletions(-)

Thanks! There was an unused variable warning, I fixed that, and applied this and the patch 1 of the series.

 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux