OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

Accton AS4610: let the CPLD driver handle sub devices

Open KanjiMonster opened this issue 8 months ago • 0 comments

Properly let the CPLD driver manage the LED and CPLD platform devices instead of registering them always in their respective modules.

This avoids registering devices on platforms without the CPLD present, introduces proper ordering of registering the platform devices only after the CPLD driver has finished initializing, and simplifies the drivers significantly.

To make this properly work, also fix the module device table for the FAN driver, and add one for the LED driver.

KanjiMonster avatar Oct 23 '23 08:10 KanjiMonster