From: Vladimir Zapolskiy Date: Sat, 11 Oct 2014 13:46:26 +0000 (+0300) Subject: backlight: pwm: Clean-up pwm requested using legacy API X-Git-Tag: omap-for-v3.19/fixes-rc1~134^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edf387b6d1a6993103ec95ed934a6daf559535f4;p=pandora-kernel.git backlight: pwm: Clean-up pwm requested using legacy API If PWM device is requested by means of legacy API pwm_request(), its resources are not freed on module unbind, which may cause an oops on access, e.g. by reading /sys/kernel/debug/pwm. Reported-by: Dmitry Eremin-Solenikov Signed-off-by: Vladimir Zapolskiy Signed-off-by: Lee Jones --- Reading git-diff-tree failed