cleanup device

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>