diff options
author | Suman Anna <s-anna@ti.com> | 2018-07-12 02:42:12 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2018-08-03 16:27:15 +0300 |
commit | ea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548 (patch) | |
tree | 5913dfa3afd83d7e3f8fab56d263ece1c0f9322e /drivers/ntb | |
parent | 2ad5157650b446f14a719280ba3670303bc4f439 (diff) | |
download | linux-ea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548.tar.xz |
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 <s-anna@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions