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>
Mon, 15 Oct 2012 18:50:13 +0000 (20:50 +0200)
commit086d585f13542de205c25fd225a37aa0cadc3be0
tree728dcd90e31619e8498c35fe9809b98ae8911dcb
parent8944df726c7d2916764d18be8e944bd7ea3f2f51
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