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

From: Eric Anholt
Date: Mon Sep 28 2015 - 15:19:38 EST

Daniel Vetter <daniel@xxxxxxxx> writes:

> On Thu, Sep 24, 2015 at 7:02 PM, Thierry Reding
> <thierry.reding@xxxxxxxxx> wrote:
>> From: Thierry Reding <treding@xxxxxxxxxx>
>> 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@xxxxxxxxxxxxxxxxxxx>
>> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> 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:
> 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.

Attachment: signature.asc
Description: PGP signature