[PATCH] arm-cci: simplify sysfs attr handling

Suzuki K. Poulose Suzuki.Poulose at arm.com
Fri Jan 15 02:28:50 PST 2016


On 04/11/15 11:11, Mark Rutland wrote:
> On Tue, Sep 29, 2015 at 11:41:23AM +0100, Mark Rutland wrote:
>> 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.
>>
>> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
>> Acked-by: Punit Agrawal <punit.agrawal at arm.com>
>> Reviewed-by: Suzuki K. Poulose <suzuki.poulose at arm.com>
>> Tested-by: Suzuki K. Poulose <suzuki.poulose at arm.com>
>> Cc: Arnd Bergmann <arnd at arndb.de>
>> Cc: Olof Johansson <olof at lixom.net>
>> ---
>>   drivers/bus/arm-cci.c | 100 +++++++++++++-------------------------------------
>>   1 file changed, 25 insertions(+), 75 deletions(-)
>
> Arnd/Olof, are you happy to pick this up?
>
> I don't believe there are any other pending changes to the CCI code, and
> haven't been since I posted this so it still applies atop of v4.3.
>

fyi,

This hasn't made into arm-soc tree yet.

Suzuki



More information about the linux-arm-kernel mailing list