]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: pfc: support pinmux deregistration.
authorPaul Mundt <lethal@linux-sh.org>
Sun, 3 Oct 2010 18:54:56 +0000 (03:54 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 3 Oct 2010 18:54:56 +0000 (03:54 +0900)
commitb72421d8aa39724474ec2bfb91e182001f1f25a7
treed9f13d2e5641d9379c796898782756c50996bbf3
parent3bccf534f98ddc4962665b68d99f752ea010aacc
sh: pfc: support pinmux deregistration.

Presently the pinmux code is a one-way thing, but there's nothing
preventing an unregistration if no one has grabbed any of the pins.
This will permit us to save a bit of memory on systems that require pin
demux for certain peripherals in the case where registration of those
peripherals fails, or they are otherwise not attached to the system.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/pfc.c
include/linux/sh_pfc.h