[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5CGn=aetDoo-oc3Ub3ZL=8RKsPzH6jkXvifykSnWrV_Rg@mail.gmail.com>
Date: Tue, 16 Apr 2013 12:22:00 -0300
From: Fabio Estevam <festevam@...il.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: Fabio Estevam <fabio.estevam@...escale.com>, davem@...emloft.net,
netdev@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH] fec: Use SIMPLE_DEV_PM_OPS
On Tue, Apr 16, 2013 at 11:32 AM, Sergei Shtylyov
<sergei.shtylyov@...entembedded.com> wrote:
>> +static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume);
>> +#define FEC_PM_OPS (&fec_pm_ops)
>
>
> Nit: parens are useless here.
Have you tried removing parenthesis and run checkpatch?
ERROR: Macros with complex values should be enclosed in parenthesis
#45: FILE: drivers/net/ethernet/freescale/fec_main.c:1950:
+#define FEC_PM_OPS &fec_pm_ops
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists