Re: [PATCH 1/2] gpio: tb10x: Create local helper variables

2018-08-20 Thread Christian Ruppert
Acked-by: Christian Ruppert On 06.08.2018 17:12, Linus Walleij wrote: > 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 conventi

[PATCH 1/2] gpio: tb10x: Create local helper variables

2018-08-06 Thread Linus Walleij
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 Cc: Christian Ruppert Signed-off-by: