Skip to content

Two fixes for leds-tca6507 - Version 2

NeilBrown lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2leds-tca6507: allow driver to compile when GPIOLIB is not available.drivers/leds/leds-tca6507.c include/linux/leds-tca6507.h+65 -305 replies
2/2leds-tca6507 - fix off by one error.drivers/leds/leds-tca6507.c+6 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRandy Dunlap
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Two fixes for leds-tca6507 - Version 2

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 <[email protected]> and
Stephen Rothwell <[email protected]>

off-by-one error in choose_times
Reported by: Dan Carpenter <[email protected]>

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 · 1 line
Signature