From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Kim Kyuwon <q1.kim@samsung.com>, Kim Kyuwon <chammoru@gmail.com>,
Richard Purdie <rpurdie@rpsys.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] leds: Convert bd2802 driver to dev_pm_ops
Date: Fri, 21 Jan 2011 12:13:53 +0000 [thread overview]
Message-ID: <20110121121352.GD8186@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20110120153528.4a535065.akpm@linux-foundation.org>
On Thu, Jan 20, 2011 at 03:35:28PM -0800, Andrew Morton wrote:
> It's tricky to get the compiler/linker to discard code and data without
> triggering an unused-var warning. cpu_notifier() does it by emitting a
> reference:
SIMPLE_DEV_PM_OPS() is being a bit more brute force than that - it
just defines out the reference if compiled without PM_SLEEP. You still
need the ifdefs around the function definitions, but not their uses.
prev parent reply other threads:[~2011-01-21 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 21:36 [PATCH] leds: Convert bd2802 driver to dev_pm_ops Mark Brown
2011-01-20 23:12 ` Andrew Morton
2011-01-20 23:24 ` Mark Brown
2011-01-20 23:35 ` Andrew Morton
2011-01-21 12:13 ` Mark Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110121121352.GD8186@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=akpm@linux-foundation.org \
--cc=chammoru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=q1.kim@samsung.com \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.