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

coresight: Re-use same function 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
names. 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 5fc2fa72
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