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 /lib/crc-ccitt.c | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-d28af35b0c91eea1030c5fef1f8c0f21b97a7e03.tar.xz linux-d28af35b0c91eea1030c5fef1f8c0f21b97a7e03.zip |
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 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions