Commit 3f4e432
committed
gpio: pxa: use devres for the clock struct
The clock is never released after probe(). Use devres to not leak
resources.
Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>1 parent 636c398 commit 3f4e432
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
| 664 | + | |
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | 670 | | |
676 | 671 | | |
677 | 672 | | |
678 | | - | |
679 | | - | |
| 673 | + | |
680 | 674 | | |
681 | | - | |
682 | 675 | | |
683 | 676 | | |
684 | 677 | | |
| |||
0 commit comments