[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OS3PR01MB65931F0244E7D2CE6FCB4080BA259@OS3PR01MB6593.jpnprd01.prod.outlook.com>
Date: Tue, 25 May 2021 19:35:50 +0000
From: Min Li <min.li.xe@...esas.com>
To: Lee Jones <lee.jones@...aro.org>
CC: "sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"grant.likely@...aro.org" <grant.likely@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: RE: [PATCH mfd v1] mfd: Add Renesas Synchronization Management Unit
(SMU) support
> 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
Powered by blists - more mailing lists