mailbox: omap: Use function local struct mbox_controller
authorAndrew Davis <afd@ti.com>
Wed, 10 Apr 2024 13:59:38 +0000 (08:59 -0500)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 20 May 2024 03:29:44 +0000 (22:29 -0500)
commit2a0fca3949b5835442333d03ee63a48e038cceea
treec131fed3dc3a67f99a115f974087861d1b7b6dff
parent7077ac4c6097c4d872f0fd504050cdc13cfc528f
mailbox: omap: Use function local struct mbox_controller

The mbox_controller struct is only needed in the probe function. Make
it a local variable instead of storing a copy in omap_mbox_device
to simplify that struct.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/omap-mailbox.c