kernel-device: generic: Support ATTR condition
Only the plural ATTRS form was checked but we also need to support the single ATTR for matching device's attribute only.
Fix partially #410 (closed)
Signed-off-by: Loic Poulain loic.poulain@linaro.org