Re: [PATCH v4 04/37] [RFC] firmware: arm_scmi: introduce bare get/put protocols ops

From: Thara Gopinath
Date: Thu Jan 07 2021 - 09:30:56 EST




On 1/6/21 3:15 PM, Cristian Marussi wrote:
Expose to the SCMI drivers a non managed version of a common protocols API
based on generic get/put methods and protocol handles.

All drivers still keep using the old API, no functional change.

Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
---
These non devres methods are probably not needed, given the devm_ ones are
already provided and any SCMI driver (user of the API) has surely available
an scmi_device reference to use in the devm_ flavour...so the RFC

I agree. The protocol devices can use the devm_ flavor.


--
Warm Regards
Thara