summaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-07-12 02:42:12 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2018-08-03 16:27:15 +0300
commitea2ec1e80f78e5f1d6bd04315a2a0bf0646d8548 (patch)
tree5913dfa3afd83d7e3f8fab56d263ece1c0f9322e /drivers/ntb
parent2ad5157650b446f14a719280ba3670303bc4f439 (diff)
downloadlinux-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