> 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
> 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