The Nokia N900 and Motorola Droid 4 use obsolete naming for LEDs, as indicated
in include/dt-bindings/leds/common.h in the Linux kernel. Since the obsolete
naming is still in wide use, support them in feedbackd until it is eventually
removed in the kernel.
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Update the rule for the "platform-vibrator" entry to be like all the other rules, matching by
ATTRS{name} instead of ENV{ID_PATH}. Since it was matching for both gpio-vibrator and pwm-vibrator,
add entries for both.
Tested on Fairphone 2 which uses the gpio-vibrator driver.
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>