[PATCH 1/6] driver-core: platform: Provide helpers for multi-driver modules

Eric Anholt eric at anholt.net
Mon Sep 28 12:19:12 PDT 2015


Daniel Vetter <daniel at ffwll.ch> writes:

> On Thu, Sep 24, 2015 at 7:02 PM, Thierry Reding
> <thierry.reding at gmail.com> wrote:
>> From: Thierry Reding <treding at nvidia.com>
>>
>> Some modules register several sub-drivers. Provide a helper that makes
>> it easy to register and unregister a list of sub-drivers, as well as
>> unwind properly on error.
>>
>> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>
> I raised this already on irc but let's do it here too for the record:
> Eric Anholt has a very similar thing (but in drm only) with the
> addition of also integrating with the component framework:
>
> http://lists.freedesktop.org/archives/dri-devel/2015-September/090449.html
>
> Having something that works for everyone (so includes msm and can be
> used for vc4 too) would be great. Adding Eric.

I'm not sure if I should be providing a Reviewed-by here, but I like
this patch.  It obsoletes part of my patch series, and I look forward to
using it in my driver.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150928/bbbc580d/attachment.sig>


More information about the dri-devel mailing list