mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
ARM: 9055/1: mailbox: arm_mhuv2: make remove callback return void
My build tests failed to catch that amba driver that would have needed adaption in commit3fd269e74f("amba: Make the remove callback return void"). Change the remove function to make the driver build again. Link: https://lore.kernel.org/r/[email protected] Reported-by: kernel test robot <[email protected]> Fixes:3fd269e74f("amba: Make the remove callback return void") Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
1 parent
9d4d8572a5
commit
860660fd82
1 file changed
+1
-3
@@ -1095,14 +1095,12 @@ static int mhuv2_probe(struct amba_device *adev, const struct amba_id *id)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int mhuv2_remove(struct amba_device *adev)
|
||||
static void mhuv2_remove(struct amba_device *adev)
|
||||
{
|
||||
struct mhuv2 *mhu = amba_get_drvdata(adev);
|
||||
|
||||
if (mhu->frame == SENDER_FRAME)
|
||||
writel_relaxed(0x0, &mhu->send->access_request);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct amba_id mhuv2_ids[] = {
|
||||
|
||||
Reference in new issue
Block a user