Skip to content

platform_device: add new devres function

Philipp Stanner dri-devel linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Fix wrong function name in docstring (Uwe)
- Change devres function name so it becomes obvious that it's requesting

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform_device: add devres function region-reqsdrivers/base/platform.c include/linux/platform_device.h+41 -04 replies
2/2drm/dcss: request memory regiondrivers/gpu/drm/imx/dcss/dcss-dev.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

Changes in v2:
- Fix wrong function name in docstring (Uwe)
- Change devres function name so it becomes obvious that it's requesting

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             | 38 +++++++++++++++++++++++++++++
 drivers/gpu/drm/imx/dcss/dcss-dev.c |  9 ++++---
 include/linux/platform_device.h     |  3 +++
 3 files changed, 46 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0