From: NeilBrown <neilb@suse.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: rpurdie@rpsys.net, linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@xenotime.net>
Subject: [PATCH 0/2] Two fixes for leds-tca6507 - Version 2
Date: Tue, 20 Dec 2011 16:44:41 +1100 [thread overview]
Message-ID: <20111220054233.7043.3561.stgit@notabene.brown> (raw)
The driver didn't compile on arches which did not define GPIOLIB.
Fix this by excluding gpio support on those archs.
[Fix for the 'remove' function too]
Reported by: Randy Dunlap <rdunlap@xenotime.net> and
Stephen Rothwell <sfr@canb.auug.org.au>
off-by-one error in choose_times
Reported by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks,
NeilBrown
---
NeilBrown (2):
leds-tca6507 - fix off by one error.
leds-tca6507: allow driver to compile when GPIOLIB is not available.
drivers/leds/leds-tca6507.c | 100 +++++++++++++++++++++++++++++-------------
include/linux/leds-tca6507.h | 3 +
2 files changed, 71 insertions(+), 32 deletions(-)
--
Signature
next reply other threads:[~2011-12-20 5:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-20 5:44 NeilBrown [this message]
2011-12-20 5:44 ` [PATCH 2/2] leds-tca6507 - fix off by one error NeilBrown
2011-12-20 5:44 ` [PATCH 1/2] leds-tca6507: allow driver to compile when GPIOLIB is not available NeilBrown
2011-12-20 20:16 ` Randy Dunlap
2011-12-20 20:26 ` Randy Dunlap
2011-12-20 21:03 ` NeilBrown
2011-12-20 22:23 ` Andrew Morton
2011-12-30 0:35 ` NeilBrown
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=20111220054233.7043.3561.stgit@notabene.brown \
--to=neilb@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).