Re: [PATCH v6 01/14] scmi: refactor the code to hide a channel from devices

2023-10-15 Thread Tom Rini
On Wed, Oct 11, 2023 at 07:06:54PM +0900, AKASHI Takahiro wrote: > The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel > reference") added an explicit parameter, channel, but it seems to make > the code complex. > > Hiding this parameter will allow for adding a generic (proto

[PATCH v6 01/14] scmi: refactor the code to hide a channel from devices

2023-10-11 Thread AKASHI Takahiro
The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel reference") added an explicit parameter, channel, but it seems to make the code complex. Hiding this parameter will allow for adding a generic (protocol-agnostic) helper function, i.e. for PROTOCOL_VERSION, in a later patch.