atm: correct sysfs 'device' link creation and parent relationships