Re: [PATCH 11/12] regulator: stm32-vrefbuf: Fix W=1 build warning when CONFIG_OF=n
From: Mark Brown
Date: Thu Aug 20 2020 - 06:54:50 EST
On Thu, Aug 20, 2020 at 04:32:32PM +0800, Jisheng Zhang wrote:
> On Thu, 20 Aug 2020 10:13:12 +0200 Fabrice Gasnier wrote:
> > You could probably adopt "__maybe_unused" here ? E.g. like:
> __maybe_unused also fixes the warning. I'm not sure the maintainers' preference.
> which solution do you prefer?
__maybe_unused is a bit nicer.
Attachment:
signature.asc
Description: PGP signature