linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Two fixes for leds-tca6507
@ 2011-12-19  0:20 NeilBrown
  2011-12-19  0:20 ` [PATCH 1/2] leds-tca6507: allow driver to compile when GPIOLIB is not available NeilBrown
  2011-12-19  0:20 ` [PATCH 2/2] leds-tca6507 - fix off by one error NeilBrown
  0 siblings, 2 replies; 11+ messages in thread
From: NeilBrown @ 2011-12-19  0:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: rpurdie, linux-kernel, Randy Dunlap, Stephen Rothwell,
	Dan Carpenter

The driver didn't compile on arches which did not define GPIOLIB.
  This this by excluding gpio support on those archs.
  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  |   83 +++++++++++++++++++++++++++++-------------
 include/linux/leds-tca6507.h |    3 +-
 2 files changed, 59 insertions(+), 27 deletions(-)

-- 
Signature


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/2] Two fixes for leds-tca6507 - Version 2
@ 2011-12-20  5:44 NeilBrown
  2011-12-20  5:44 ` [PATCH 1/2] leds-tca6507: allow driver to compile when GPIOLIB is not available NeilBrown
  0 siblings, 1 reply; 11+ messages in thread
From: NeilBrown @ 2011-12-20  5:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: rpurdie, linux-kernel, Randy Dunlap

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-12-30  0:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19  0:20 [PATCH 0/2] Two fixes for leds-tca6507 NeilBrown
2011-12-19  0:20 ` [PATCH 1/2] leds-tca6507: allow driver to compile when GPIOLIB is not available NeilBrown
2011-12-19 20:34   ` Randy Dunlap
2011-12-20  5:37     ` NeilBrown
2011-12-19  0:20 ` [PATCH 2/2] leds-tca6507 - fix off by one error NeilBrown
  -- strict thread matches above, loose matches on Subject: below --
2011-12-20  5:44 [PATCH 0/2] Two fixes for leds-tca6507 - Version 2 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

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).