Re: [PATCH] regulator: core: mark lock functions as __maybe_unused

From: Mark Brown
Date: Wed Oct 07 2015 - 06:27:34 EST


On Wed, Oct 07, 2015 at 12:12:09PM +0200, Arnd Bergmann wrote:

> The best way to avoid these would be to add the code that will
> use these functions. If that still takes a while, this patch
> at least shuts up the compiler by marking the functions
> as __maybe_unused. The same could be achieved by marking them
> as static inline or non-static, or by hiding them from the
> compiler, but those seemed less appropriate.

That code is still in review, it's not looking too hard to get merged.

Attachment: signature.asc
Description: Digital signature