]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-cci: Clean up model discovery
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 18:51:45 +0000 (18:51 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 6 Mar 2018 16:27:09 +0000 (17:27 +0100)
commit19c63013790cd04004c9936e99fef6db0c2bb3aa
tree5074da12f055deb00b313ee2d4de6e765a0faa5a
parent91178ebaf3b3608e7bc14927888acb3696a1f4aa
perf/arm-cci: Clean up model discovery

Since I am the self-appointed of_device_get_match_data() police, it's
only right that I should clean up this driver while I'm otherwise
touching it. This also reveals that we're passing around a struct
platform_device in places where we only ever care about its regular
device, so straighten that out in the process.

Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/perf/arm-cci.c