From: Eric Anholt Subject: Re: [PATCH 1/6] driver-core: platform: Provide helpers for multi-driver modules Date: Mon, 28 Sep 2015 12:19:12 -0700 Message-ID: <87vbaumjwv.fsf@eliezer.anholt.net> References: <1443114161-7965-1-git-send-email-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225989625==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter , Thierry Reding Cc: Greg Kroah-Hartman , Linux Kernel Mailing List , dri-devel List-Id: dri-devel@lists.freedesktop.org --===============0225989625== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Daniel Vetter writes: > On Thu, Sep 24, 2015 at 7:02 PM, Thierry Reding > wrote: >> From: Thierry Reding >> >> 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 >> Signed-off-by: Thierry Reding > > 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWCZKxAAoJELXWKTbR/J7oo8oP/3+YQgxX5huNprH7Nd8zvKwE d9AZqfu1wosSl97va09Ua5CV9ElRUCpzU/DTHZf/qImTvcJz1XX7BOvTbSRImNDn KJXtlTByLQxKRHMUFRARA3LxXldAScuR4TpeeZEYObNpU5zBMjnmiW17+24Qs2jw V+ApzkUMAlbgkr8EsThNy8+OPZU7Jp9tUj9jjZXB0P1g3hkN1eZLBggNI8yc65I+ v9bTeEJzGQ9gXqmtlPVhvDBoq94VFZC9wMPlKLbav7zwmySsWConFKVRNgd3RXYr rSWSPjckexgWIVLjFWX4aA5yuGRXJXW4ug5jWFaWr3ziKRViRiUs19PzOU6vm6v+ er+D9F4F1PLlrvRFSoGpc/YqgrtDkN18TFaNAm3tRFXOYyLJ6UgTFG4TgdopN/v8 rF4uWgOp/9ob4lJUPjro+oyPAfrCVEyCuQd/11KC85YK+ezJPgrhHEUsByi4Tfjv f5BB9bTyN9ctJAIJlG893O3UcqDEvqOkf3Nms5ukYD7bmcXzDPcOk3+smic1GXgb OXeNR/Jbux3MwkP9mu77UIAIRcirc5r56R+NECWlYS9+osWoZQl7YnP6DjeX5INO pwAksWjd6g/zeuL06aT0azQHqDurSLzYMgCiCm8/DV0rNsm7usgRJvv2EJS1g8B7 eVuWkyFe1PHuepOQ9k4q =CpWr -----END PGP SIGNATURE----- --=-=-=-- --===============0225989625== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0225989625==--