Skip to content

Commit

Permalink
gpio: sim: simplify code with cleanup helpers
Browse files Browse the repository at this point in the history
Use macros defined in linux/cleanup.h to automate resource lifetime
control in gpio-sim.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Bartosz Golaszewski committed Aug 18, 2023
1 parent ba0294d commit 3faf89f
Showing 1 changed file with 85 additions and 169 deletions.
Loading

0 comments on commit 3faf89f

Please sign in to comment.