[PATCH -next] perf: arm_pmu: use DEVICE_ATTR_RO macro

Will Deacon will at kernel.org
Tue Jun 1 11:21:06 PDT 2021


On Fri, 28 May 2021 09:41:30 +0800, YueHaibing wrote:
> Use DEVICE_ATTR_RO helper instead of plain DEVICE_ATTR,
> which makes the code a bit shorter and easier to read.

Applied to will (for-next/perf), thanks!

[1/1] perf: arm_pmu: use DEVICE_ATTR_RO macro
      https://git.kernel.org/will/c/29c043760eea

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list