Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvmem: core: add support to auto devid
For nvmem providers which have multiple instances, it is required to suffix the provider name with proper id, so that they do not confict for the same name. Currently the core does not handle this case properly eventhough core already has logic to generate the id. This patch add new devid type NVMEM_DEVID_AUTO for providers to be able to allow core to assign id and append it to provier name. Reported-by: Shawn Guo <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Tested-by: Shawn Guo <[email protected]>
- Loading branch information