]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/gpio-omap: Use existing pointer to struct device
authorTobias Klauser <tklauser@distanz.ch>
Fri, 5 Oct 2012 09:37:38 +0000 (11:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 12 Oct 2012 21:02:14 +0000 (23:02 +0200)
commita5e43cccc19a7cbe1c4b8cbc26f4d33fb29d49f1
tree1b89739a05d415066478de43c2cb29031f22aac4
parentc71891fa1e8e2765883b3caacdfeed17bbdbeb0b
gpio/gpio-omap: Use existing pointer to struct device

A pointer to "pdev->dev" is already stored in "dev", so use it in
devm_kzalloc.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c