Skip to content

Two fixes for leds-tca6507

NeilBrown lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 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+53 -252 replies
2/2leds-tca6507 - fix off by one error.drivers/leds/leds-tca6507.c+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[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  |   83 +++++++++++++++++++++++++++++-------------
 include/linux/leds-tca6507.h |    3 +-
 2 files changed, 59 insertions(+), 27 deletions(-)
Signature · 1 line
Signature