device: Refactor check for device type
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 23 Sep 2018 17:47:27 +0000 (19:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 23 Sep 2018 17:47:27 +0000 (19:47 +0200)
commit5ee61d861950b44ce011c9d9845ca1b38209ac3a
tree5bd16fda6544e1cd5a3a2f8e5472f8981fb856f6
parent8707df4b3840a2edaea38cb5dd06cc7fb5bef9a3
device: Refactor check for device type

There is now one implementation for various types of devices

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.device