Skip to content
Commit 2926035c authored by James Clark's avatar James Clark
Browse files

coresight: cti-sysfs: Re-use same functions for similar sysfs register accessors



Currently each accessor macro creates an identical function which
wastes space in the text area and pollutes the ftrace function
name list. Change it so that the same function is used, but the register
to access is passed in as parameter rather than baked into each
function.

Signed-off-by: James Clark's avatarJames Clark <james.clark@arm.com>
parent ff2043af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment