2014-07-03 21:05:55

by Mark Greer

[permalink] [raw]
Subject: Re: [linux-nfc] [PATCH] NFC: trf7970a: Move trf7970a_init inside #ifdef CONFIG_PM_RUNTIME

On Mon, Jun 16, 2014 at 08:58:55AM -0700, Mark A. Greer wrote:
> On Mon, Jun 16, 2014 at 03:06:13PM +0200, Geert Uytterhoeven wrote:
> > If CONFIG_PM_RUNTIME=n:
> >
> > drivers/nfc/trf7970a.c:755: warning: ‘trf7970a_init’ defined but not used
> >
> > Signed-off-by: Geert Uytterhoeven <[email protected]>
>
> Acked-by: Mark A. Greer <[email protected]>

Actually, I'd like to change my mind on this. I've modified the code
locally and I will have to move trf7970a_init() back to where it originally
was again, if this patch is taken. If you can tolerate the warning for
another week or so, I'll have a new set of patches that will fix it.

Not a big deal if you still want to take it.

Mark
--