drivers/regulator/max8907-regulator.c

Source file repositories/reference/linux-study-clean/drivers/regulator/max8907-regulator.c

File Facts

System
Linux kernel
Corpus path
drivers/regulator/max8907-regulator.c
Extension
.c
Size
10818 bytes
Lines
398
Domain
Driver Families
Bucket
drivers/regulator
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

subsys_initcall(max8907_regulator_init);

static void __exit max8907_reg_exit(void)
{
	platform_driver_unregister(&max8907_regulator_driver);
}

module_exit(max8907_reg_exit);

MODULE_DESCRIPTION("MAX8907 regulator driver");
MODULE_AUTHOR("Gyungoh Yoo <jack.yoo@maxim-ic.com>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:max8907-regulator");

Annotation

Implementation Notes