diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2012-10-25 08:40:42 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-09 13:13:23 +0100 |
commit | f1671bf5f0721356f0c7bc1b2fec54b1aaf40418 (patch) | |
tree | fa374ed144b273736d7f9337b1c7d45c84a14bb6 /drivers/pinctrl/pinctrl-nomadik-db8540.c | |
parent | f48283367fd2679906e06bdd9e886eec1ee59eb1 (diff) |
pinctrl/nomadik: make independent of prcmu driver
Currently there are some unnecessary criss-cross
dependencies between the PRCMU driver in MFD and a lot of
other drivers, mainly because other drivers need to poke
around in the PRCM register range.
In cases like this there are actually just a few select
registers that the pinctrl driver need to read/modify/write,
and it turns out that no other driver is actually using
these registers, so there are no concurrency issues
whatsoever.
So: don't let the location of the register range complicate
things, just poke into these registers directly and skip
a layer of indirection.
Take this opportunity to add kerneldoc to the pinctrl
state container.
Cc: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik-db8540.c')
0 files changed, 0 insertions, 0 deletions