Skip to content

Commit 3faf89f

Browse files
author
Bartosz Golaszewski
committed
gpio: sim: simplify code with cleanup helpers
Use macros defined in linux/cleanup.h to automate resource lifetime control in gpio-sim. Signed-off-by: Bartosz Golaszewski <[email protected]> Acked-by: Linus Walleij <[email protected]>
1 parent ba0294d commit 3faf89f

File tree

1 file changed

+85
-169
lines changed

1 file changed

+85
-169
lines changed

0 commit comments

Comments
 (0)