udevtrigger: add device_has_attribute helper
authorGabor Juhos <juhosg@openwrt.org>
Tue, 10 Sep 2013 10:59:21 +0000 (12:59 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Sep 2013 11:25:35 +0000 (13:25 +0200)
Move the code from device_list_insert() into
a separate function. This makes it possible
to reuse the code for other attribute files.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

No differences found