linux/drivers/firmware/arm_scmi
Sudeep Holla 14e297b3b8 firmware: arm_scmi: rename scmi_xfer_{init,get,put}
Just after the initial patches were queued, Jonathan Cameron mentioned
that scmi_one_xfer_{get_put} were not very clear and suggested to use
scmi_xfer_{alloc,free}. While I agree to some extent, the reason not to
have alloc/free as these are preallocated buffers and these functions
just returns a reference to free slot in that preallocated array.
However it was agreed to drop "_one" as it's implicit that we are always
dealing with one slot anyways.

This patch updates the name accordingly dropping "_one" in both {get,put}
functions. Also scmi_one_xfer_init is renamed as scmi_xfer_get_init to
reflect the fact that it gets the free slots and then initialise it.

Reported-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2018-05-10 10:51:57 +01:00
..
base.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
bus.c firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices 2018-02-28 16:37:57 +00:00
clock.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
common.h firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
driver.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
Makefile firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
perf.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
power.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
scmi_pm_domain.c firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
sensors.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00