[PATCH v2 0/2] leds: bcm63x8: improve read and write functions

From: Álvaro Fernández Rojas
Date: Wed Feb 24 2021 - 05:12:18 EST


This code is proven to work in BMIPS BE/LE and ARM BE/LE.
See bcm2835-rng and bcmgenet.c:
https://github.com/torvalds/linux/blob/3b9cdafb5358eb9f3790de2f728f765fef100731/drivers/char/hw_random/bcm2835-rng.c#L42-L60
https://github.com/torvalds/linux/blob/3b9cdafb5358eb9f3790de2f728f765fef100731/drivers/net/ethernet/broadcom/genet/bcmgenet.c#L71-L88

v2: fix comments style.

Álvaro Fernández Rojas (2):
leds: bcm6328: improve write and read functions
leds: bcm6358: improve write and read functions

drivers/leds/leds-bcm6328.c | 26 ++++++++++++++------------
drivers/leds/leds-bcm6358.c | 26 ++++++++++++++------------
2 files changed, 28 insertions(+), 24 deletions(-)

--
2.20.1