pinctrl: bcm2835: Use existing pointer to struct device
authorTobias Klauser <tklauser@distanz.ch>
Mon, 8 Oct 2012 09:40:36 +0000 (11:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 07:09:27 +0000 (09:09 +0200)
commit8c6871979d903b8b0e4cd78a59d84afc262611bf
tree92cdb6daa7d149802b491920ad41b017f32c2f8a
parent47dbec59c37ab02946a6db7ac30c3bf6ca02630c
pinctrl: bcm2835: Use existing pointer to struct device

The pointer to "pdev->dev" is already stored in "dev", so use it in
devm_request_and_ioremap().

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-bcm2835.c