drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c

Source file repositories/reference/linux-study-clean/drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c
Extension
.c
Size
9786 bytes
Lines
334
Domain
Driver Families
Bucket
drivers/platform
Inferred role
Driver Families: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

module_init(yt2_1380_fc_module_init);

static void __exit yt2_1380_fc_module_exit(void)
{
	platform_driver_unregister(&yt2_1380_fc_pdev_driver);
	serdev_device_driver_unregister(&yt2_1380_fc_serdev_driver);
}
module_exit(yt2_1380_fc_module_exit);

MODULE_ALIAS("platform:" YT2_1380_FC_PDEV_NAME);
MODULE_DESCRIPTION("Lenovo Yoga Tablet 2 1380 fast charge driver");
MODULE_AUTHOR("Hans de Goede <hansg@kernel.org>");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes