]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: amdpt: Drop unneeded deref of &pdev->dev
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 17 Jun 2019 16:49:15 +0000 (18:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:51 +0000 (15:56 +0100)
commit3f3584f1283d1127681e1ea15cf1e7894ad0223e
tree15906c2d562de497e5e71f8a655edc7965256813
parentbeeb503c3b37ca258502af2a16b270492b35a08c
gpio: amdpt: Drop unneeded deref of &pdev->dev

We already have the struct device* pointer in a local variable,
so we can write this a bit shorter.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-amdpt.c