mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Dooks <ben@fluff.org.uk>
To: Jonathan McDowell <noodles@earth.li>
Cc: linux-kernel@vger.kernel.org, Richard Purdie <rpurdie@rpsys.net>,
	e3-hacking@earth.li
Subject: Re: [PATCH] [LEDS] Amstrad Delta LED support
Date: Sun, 23 Apr 2006 13:38:50 +0100	[thread overview]
Message-ID: <20060423123850.GA18923@home.fluff.org> (raw)
In-Reply-To: <20060422130823.GP7570@earth.li>

On Sat, Apr 22, 2006 at 02:08:23PM +0100, Jonathan McDowell wrote:
> [Which tree should I be trying to submit this to? The patch is against
> and works fine with 2.6.17-rc2]

I prefer the following PM defines, so there is only
one block of CONFIG_PM

#ifdef CONFIG_PM
int foo_suspend(...)
{
}

int foo_resume(...)
{
}

#else
#define foo_suspend NULL
#define foo_resume NULL
#endif 

 
> +static struct platform_driver foo_driver = {
> +	.probe		= foo_probe,
> +	.remove		= foo_remove,
> +	.suspend	= foo_suspend,
> +	.resume		= foo_resume,
> +};

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

  reply	other threads:[~2006-04-23 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-22 13:08 Jonathan McDowell
2006-04-23 12:38 ` Ben Dooks [this message]
2006-04-23 22:14   ` Jonathan McDowell
2006-04-23 22:27     ` Richard Purdie

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=20060423123850.GA18923@home.fluff.org \
    --to=ben@fluff.org.uk \
    --cc=e3-hacking@earth.li \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noodles@earth.li \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®