pinctrl: make the pinmux-pins more helpful
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Feb 2012 05:53:04 +0000 (06:53 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Feb 2012 18:10:42 +0000 (19:10 +0100)
commit1cf94c45ca31c0ad563e72b095782346cba26b6c
treee652152b9b46cf0efe40891e06bfdf64266d4928
parent2304b4737f492b6ee9b714d8129e153af0bef989
pinctrl: make the pinmux-pins more helpful

The debugfs file pinmux-pins used to tell which function was
enabled but now states simply which device owns the pin. Being
owned by the pinctrl driver itself means just that it's hogged
so be a bit more helpful by printing that.

ChangeLog v1->v2:
- Preserve the self-referential owner field, just clarify that
  when the pin controller states itself as owner this means
  that it's hogged.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c