diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-02-23 10:49:43 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-02-29 23:23:16 +0000 |
commit | 5e442eba342e567e2b3f1a39a24f81559f8370f7 (patch) | |
tree | 87a4598843b0d9adbdd84b65d3ac8d0c99718c2b /mm | |
parent | da4e4f18afe0f3729d68f3785c5802f786d36e34 (diff) |
arm-cci: simplify sysfs attr handling
There's no need to dynamically initialise attribute pointers when we can
get the compiler to do it for us. We also don't need a dev_ext_attribute
for the cpumask, as the drvdata for a PMU device is a pointer to struct
pmu.
Cc: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions