mbox series

[00/17] leds: Use scoped device node handling to simplify error paths

Message ID 20240816-cleanup-h-of-node-put-var-v1-0-1d0292802470@linaro.org (mailing list archive)
Headers show
Series leds: Use scoped device node handling to simplify error paths | expand

Message

Krzysztof Kozlowski Aug. 16, 2024, 3:31 p.m. UTC
Hi,

Make code a bit smaller/simpler, with less of_node_put() thanks to
cleanup.h.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (17):
      leds: aat1290: Use scoped device node handling to simplify error paths
      leds: ktd2692: Use scoped device node handling to simplify error paths
      leds: max77693: add missing of_node_get for probe duration
      leds: max77693: Simplify with scoped for each OF child loop
      leds: 88pm860x: Simplify with scoped for each OF child loop
      leds: aw2013: Simplify with scoped for each OF child loop
      leds: bcm6328: Simplify with scoped for each OF child loop
      leds: bcm6358: Simplify with scoped for each OF child loop
      leds: is31fl32xx: Simplify with scoped for each OF child loop
      leds: lp55xx: Simplify with scoped for each OF child loop
      leds: mc13783: Use scoped device node handling to simplify error paths
      leds: mt6323: Simplify with scoped for each OF child loop
      leds: netxbig: Simplify with scoped for each OF child loop
      leds: pca9532: Simplify with scoped for each OF child loop
      leds: sc27xx: Simplify with scoped for each OF child loop
      leds: turris-omnia: Simplify with scoped for each OF child loop
      leds: qcom-lpg: Simplify with scoped for each OF child loop

 drivers/leds/flash/leds-aat1290.c  | 14 ++++++--------
 drivers/leds/flash/leds-ktd2692.c  | 15 +++++++--------
 drivers/leds/flash/leds-max77693.c | 20 ++++++++++----------
 drivers/leds/leds-88pm860x.c       |  5 ++---
 drivers/leds/leds-aw2013.c         |  8 +++-----
 drivers/leds/leds-bcm6328.c        |  7 ++-----
 drivers/leds/leds-bcm6358.c        |  7 ++-----
 drivers/leds/leds-is31fl32xx.c     | 14 ++++----------
 drivers/leds/leds-lp55xx-common.c  |  7 ++-----
 drivers/leds/leds-mc13783.c        | 24 +++++++++++-------------
 drivers/leds/leds-mt6323.c         | 22 +++++++---------------
 drivers/leds/leds-netxbig.c        | 19 ++++++++-----------
 drivers/leds/leds-pca9532.c        |  7 ++-----
 drivers/leds/leds-sc27xx-bltc.c    | 12 ++++--------
 drivers/leds/leds-turris-omnia.c   |  8 +++-----
 drivers/leds/rgb/leds-qcom-lpg.c   | 14 ++++----------
 16 files changed, 77 insertions(+), 126 deletions(-)
---
base-commit: 2d9e88b1a66c6b9a76fb16141ad3c6fb59334c5a
change-id: 20240816-cleanup-h-of-node-put-var-e442f2da1ae1

Best regards,

Comments

Lee Jones Aug. 22, 2024, 1:23 p.m. UTC | #1
On Fri, 16 Aug 2024 17:31:32 +0200, Krzysztof Kozlowski wrote:
> Make code a bit smaller/simpler, with less of_node_put() thanks to
> cleanup.h.
> 
> Best regards,
> Krzysztof
> 

Applied, thanks!

[01/17] leds: aat1290: Use scoped device node handling to simplify error paths
        commit: 1e63395e58b2b1d0105bb5ffdb1e5d7400a4be82
[02/17] leds: ktd2692: Use scoped device node handling to simplify error paths
        commit: 700b6c984b418c04c63a54f67b6758b81016f0e3
[03/17] leds: max77693: add missing of_node_get for probe duration
        commit: d225d436f7baccde74ad80d9dc7f08e1271b8473
[04/17] leds: max77693: Simplify with scoped for each OF child loop
        commit: 05c2f554d1edd6399720e8f8097e9165dcf17044
[05/17] leds: 88pm860x: Simplify with scoped for each OF child loop
        commit: 6c17a9a8991cf1f4e0767c2a8b3c110ea34e1019
[06/17] leds: aw2013: Simplify with scoped for each OF child loop
        commit: 073f016511913e2ea6c52e5d77d33a8cb03c4424
[07/17] leds: bcm6328: Simplify with scoped for each OF child loop
        commit: 6a1d796e70c703a7557c7ef21304879de85f40ec
[08/17] leds: bcm6358: Simplify with scoped for each OF child loop
        commit: c57ba40ea1e78bbf544ec667a9e0f885a8957f5c
[09/17] leds: is31fl32xx: Simplify with scoped for each OF child loop
        commit: 2c37529ee95d06ab44613572bfa474413f9a5b58
[10/17] leds: lp55xx: Simplify with scoped for each OF child loop
        commit: 9d4cfee092ecdaf98f255ee61d094334ddf9f110
[11/17] leds: mc13783: Use scoped device node handling to simplify error paths
        commit: e98a7f1fb9296733855347a98b1cac16e70b7ed8
[12/17] leds: mt6323: Simplify with scoped for each OF child loop
        commit: 84e2b97f87b8bc7dde90555ef29ac5eae27b3c8e
[13/17] leds: netxbig: Simplify with scoped for each OF child loop
        commit: d3f5f674058f5f1d93d9402c79f56684d81e5993
[14/17] leds: pca9532: Simplify with scoped for each OF child loop
        commit: af728722d7a1d81dd38bdf9a646fee84aefde901
[15/17] leds: sc27xx: Simplify with scoped for each OF child loop
        commit: 42476bce8d78eeea5057f34738daa8236b9912a6
[16/17] leds: turris-omnia: Simplify with scoped for each OF child loop
        commit: 122d57e2960c81b6916a5ebe44bfb8c14ebe81de
[17/17] leds: qcom-lpg: Simplify with scoped for each OF child loop
        commit: 9557b4376d02088a33e5f4116bcc324d35a3b64c

--
Lee Jones [李琼斯]