devices: Use list_add_tail() instead of list_add() to register a device