参考内核5.x, 主要关注下资源释放。/** * device_register - register a device with the system. * @dev: pointer to the device structure * * This happens in two clean steps - initialize the device * an...阅读全文