Skip to content
Commit 08e9fa5f authored by James Clark's avatar James Clark Committed by Mathieu Poirier
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: default avatarJames Clark <james.clark@arm.com>
Reviewed-by: default avatarMike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220830172614.340962-4-james.clark@arm.com
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent b6df1cbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment