diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2018-05-09 17:52:06 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2018-05-10 10:51:57 +0100 |
commit | 14e297b3b896422b6c476f0a850c932c0e09b0e4 (patch) | |
tree | 021f3c0b90b8fe8e837ed441352ef3f401d4b2a1 /scripts/gdb/linux/utils.py | |
parent | 7859e08c1bdef00841d29e8ff320264fd6f9257b (diff) |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions