Commit 4134271
Bartosz Golaszewski
gpio: sim: use devm_mutex_init()
Drop the hand-coded devres action callback for destroying the mutex in
favor of devm_mutex_init().
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>1 parent b5f5cbe commit 4134271
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | 311 | | |
319 | 312 | | |
320 | 313 | | |
| |||
458 | 451 | | |
459 | 452 | | |
460 | 453 | | |
461 | | - | |
462 | | - | |
463 | | - | |
| 454 | + | |
464 | 455 | | |
465 | 456 | | |
466 | 457 | | |
| |||
0 commit comments