]> asedeno.scripts.mit.edu Git - linux.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)
commit32837954db462ecc28051923109ef6e4a221f2b2
tree5074da12f055deb00b313ee2d4de6e765a0faa5a
parent3ee5e821f3a1affd406ff1031f4cf6d7b4f81ab3
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