diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-08-06 16:30:12 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-29 08:53:26 +0200 |
commit | d28af35b0c91eea1030c5fef1f8c0f21b97a7e03 (patch) | |
tree | d11d44e7628b99ce2785b3f6a0c2c43e31244003 /firmware | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-d28af35b0c91eea1030c5fef1f8c0f21b97a7e03.tar.bz2 |
gpio: tb10x: Create local helper variables
Create a local struct device *dev helper variable to make the code
easier to read.
Most GPIO drivers use "np" (node pointer) rather than "dn" (device node)
to point to the device tree node. Let's follow this convention.
Cc: linux-snps-arc@lists.infradead.org
Acked-by: Christian Ruppert <christian.ruppert@alitech.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions