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

Thara Gopinath thara.gopinath at linaro.org
Thu Jan 7 09:30:11 EST 2021



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 at arm.com>
> ---
> 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



More information about the linux-arm-kernel mailing list