summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-02-22 14:26:01 -0700
committerLinus Walleij <linus.walleij@linaro.org>2012-02-24 06:30:50 +0100
commit2304b4737f492b6ee9b714d8129e153af0bef989 (patch)
tree172859048b3a66ac06a80e0c800b4a1ebef7a485 /drivers/dma
parent02f5b98951c631a3c4b3cc398dd2b14d274a6155 (diff)
downloadlinux-2304b4737f492b6ee9b714d8129e153af0bef989.tar.gz
linux-2304b4737f492b6ee9b714d8129e153af0bef989.tar.bz2
linux-2304b4737f492b6ee9b714d8129e153af0bef989.zip
pinctrl: remove pin and hogs locks from struct pinctrl_dev
struct pinctrl_dev's pin_desc_tree_lock and pinctrl_hogs_lock aren't useful; the data they protect is read-only except when registering or unregistering a pinctrl_dev, and at those times, it doesn't make sense to protect one part of the structure independently from the rest. Move pinctrl_init_device_debugfs() to the end of pinctrl_register() so that debugfs can't access the struct pinctrl_dev until it's fully initialized, i.e. after the hogs are set up. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions