pinctrl: mvebu: remove passing mvebu_mpp_ctrl to callbacks
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 30 Jan 2014 21:25:05 +0000 (22:25 +0100)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 25 Feb 2014 17:34:51 +0000 (18:34 +0100)
commit2035d39da18feba072bb49067b9984454dc4c07b
tree6b6b85ae2396c4b5835a9f35267ebe3d2a3fd212
parente310b745443e3142bcb268492409eeda3373f232
pinctrl: mvebu: remove passing mvebu_mpp_ctrl to callbacks

The only valuable information a special callback can derive from
mvebu_mpp_ctrl passed to it, is the pin id. Instead of passing
the struct, pass the pid directly.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pinctrl/mvebu/pinctrl-dove.c
drivers/pinctrl/mvebu/pinctrl-mvebu.c
drivers/pinctrl/mvebu/pinctrl-mvebu.h