ipack: split ipack_device_register() in several functions