pwm: Add support to remove registered consumer lookup tables
authorShobhit Kumar <shobhit.kumar@intel.com>
Tue, 5 May 2015 09:34:18 +0000 (15:04 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 6 May 2015 12:19:35 +0000 (14:19 +0200)
commitefb0de55b6a2ec15fc424e660601f22ae2fa487a
tree0ba5c7c3ef4b77c8fe9755ab371fa6302e2ceb0d
parentb787f68c36d49bb1d9236f403813641efa74a031
pwm: Add support to remove registered consumer lookup tables

In case some drivers are unloading, they can remove lookup tables which
they had registered during their load time to avoid redundant entries if
loaded again.

CC: Samuel Ortiz <sameo@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c
include/linux/pwm.h