MAX22194 is the same as MAX22196 except it doesn't have the 5 to 8 channels and channel counting functionality, therefore
the first commit handles the compatibility of the driver for MAX22194 as well as the MAX22196 using a chip_id enum inside of the device descriptor as well as the initialization parameter.
The second commit only uses the new approach for avoiding memory leaks at initialization of the driver.
The third commit updates the README.rst file so any MAX22194 extra related documentation is included and therefore be found in the no-OS repository.
PR Type
[ ] Bug fix (change that fixes an issue)
[x] New feature (change that adds new functionality)
[ ] Breaking change (has dependencies in other repos or will cause CI to fail)
Pull Request Description
MAX22194 is the same as MAX22196 except it doesn't have the 5 to 8 channels and channel counting functionality, therefore the first commit handles the compatibility of the driver for MAX22194 as well as the MAX22196 using a chip_id enum inside of the device descriptor as well as the initialization parameter.
The second commit only uses the new approach for avoiding memory leaks at initialization of the driver.
The third commit updates the README.rst file so any MAX22194 extra related documentation is included and therefore be found in the no-OS repository.
PR Type
PR Checklist