diff options
| author | Suman Anna <[email protected]> | 2018-07-11 23:42:12 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2018-08-03 13:27:15 +0000 |
| commit | ea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548 (patch) | |
| tree | 5913dfa3afd83d7e3f8fab56d263ece1c0f9322e /tools/perf/scripts/python/sctop.py | |
| parent | mailbox/omap: switch to SPDX license identifier (diff) | |
| download | kernel-ea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548.tar.gz kernel-ea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548.zip | |
mailbox/omap: use of_device_get_match_data() to get match data
The OMAP Mailbox driver is directly using an integer value as
match data for distinguishing the interrupt register layout
between OMAP2 and OMAP4+ SoCs. Introduce a dedicated structure
for storing this match data, and simplify the probe function by
using the of_device_get_match_data() function. This allows the
driver to scale for 64-bit platforms by eliminating the unnecessary
type-casting between a u32 and a void pointer types.
Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
