aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2015-06-17 20:59:42 +0900
committerLinus Walleij <[email protected]>2015-07-16 00:11:03 +0200
commit41ec66c92299889ad30871aeede89b960f08a458 (patch)
tree740a9c7d063a3570ca909821079449d1ba6627ae /tools/perf/scripts/python
parent1c8b5d688d7ef401c209f3fc84b7de8296f8908a (diff)
gpio: altera: use of_mm_gpiochip_remove() to fix memory leak
This driver calls of_mm_gpiochip_add() to add a memory mapped gpio chip. So, of_mm_gpiochip_remove() should be used when removing it. The direct call of gpiochip_remove() misses unmapping the register and freeing the label. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Acked-by: Tien Hock Loh <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions