Commit 7777fa92 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpio: eic-sprd: use a helper variable for &pdev->dev



Instead of dereferencing pdev everywhere, just store the address of the
underlying struct device in a local variable.

Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: default avatarBaolin Wang <baolin.wang@linux.alibaba.com>
parent dbd31c71
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment