Messages in this thread | | | Date | Mon, 29 Jun 2015 16:34:11 +0100 | From | Mark Brown <> | Subject | Re: [RFC PATCH 1/2] regmap: add configurable lock class key for lockdep |
| |
On Mon, Jun 29, 2015 at 04:18:11PM +0200, Lars-Peter Clausen wrote:
Please delete unneeded context from replies.
> Leaves us pretty much with only two options. Either add a lock key pointer > to regmap_config which needs to be manually initialized. Or wrap all > regmap_init() variants to create a static lock key. I'd slightly prefer the > later. We can avoid most of the boiler-plate code by using some helper > macros to generate the wrappers.
It's better to keep the bodges in the core, yes. [unhandled content-type:application/pgp-signature] | |