pwm: added existing exposition logic
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Tue, 20 May 2014 12:38:15 +0000 (13:38 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 20 May 2014 13:07:19 +0000 (14:07 +0100)
commit5fa6f50edccc3835078b56b1caef7e8b2704515b
tree1d526209b311fa43c016627801d1ade28b377b82
parentfa7180cb9126311166b9a1f9701a2b7c6981aa80
pwm: added existing exposition logic

* Understands when pwm pin is already exported.
* Will not unexport if didnt export. Can be forced.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/pwm.h
api/pwm.hpp
src/pwm/pwm.c