Skip to content
Commit 3f4e432f authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpio: pxa: use devres for the clock struct



The clock is never released after probe(). Use devres to not leak
resources.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Reported-by: default avatarYuan Can <yuancan@huawei.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 636c3982
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment