[PATCH 0/2] platform_device: add new devres function

Philipp Stanner pstanner at redhat.com
Fri Jan 5 17:22:17 UTC 2024


Patch #1 adds a new devres function that I found could be useful for the
driver dcss in drm. Patch #2 makes that driver use the new function.

I compiled this successfully but unfortunately don't have the hardware
to test it for dcss.
So you might want to have a closer look.

Greetings,
P.

Philipp Stanner (2):
  platform_device: add devres function region-reqs
  drm/dcss: request memory region

 drivers/base/platform.c             | 37 +++++++++++++++++++++++++++++
 drivers/gpu/drm/imx/dcss/dcss-dev.c |  8 +++----
 include/linux/platform_device.h     |  2 ++
 3 files changed, 43 insertions(+), 4 deletions(-)

-- 
2.43.0



More information about the dri-devel mailing list