diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-08-06 17:30:12 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-29 09:53:26 +0300 |
commit | d28af35b0c91eea1030c5fef1f8c0f21b97a7e03 (patch) | |
tree | d11d44e7628b99ce2785b3f6a0c2c43e31244003 /drivers/gpio/gpio-lp3943.c | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-d28af35b0c91eea1030c5fef1f8c0f21b97a7e03.tar.xz |
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 'drivers/gpio/gpio-lp3943.c')
0 files changed, 0 insertions, 0 deletions