RE: [PATCH mfd v1] mfd: Add Renesas Synchronization Management Unit (SMU) support

From: Min Li
Date: Tue May 25 2021 - 15:35:56 EST



> Why do you need to track how many there are?
>
> We don't usually do that at all.
>

It is used to index the mfd_cell array, rsmu_cdev[RSMU_MAX_MFD_DEV]

The index is also used to enumerate the rsmu character device, say /dev/rsmu[0/1/2/3]

Min