[PATCH v2 1/2] platform_device: add devres function region-reqs
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Jan 8 09:37:09 UTC 2024
Hello Philipp,
the Subject is incomprehensible (to me). Maybe make it:
platform_device: Add devm function to simplify mem and io requests
?
On Mon, Jan 08, 2024 at 10:20:42AM +0100, Philipp Stanner wrote:
> Some drivers want to use (request) a region exclusively but nevertheless
> create several mappings within that region.
>
> Currently, there is no managed devres function to request a region
> without mapping it.
>
> Add the function devm_platform_get_resource().
^
Still the old function name -'
Other than that I indifferent if this is a good idea. There are so many
helpers around these functions ...
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240108/d63c70c2/attachment.sig>
More information about the dri-devel
mailing list