Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mailbox: arm_mhuv2: make remove callback return void

My build tests failed to catch that amba driver that would have needed
adaption in commit 3fd269e74f2f ("amba: Make the remove callback return
void"). Change the remove function to make the driver build again.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 3fd269e74f2f ("amba: Make the remove callback return void")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>

authored by

Uwe Kleine-König and committed by
Jassi Brar
09d12157 af59bcff

+1 -3
+1 -3
drivers/mailbox/arm_mhuv2.c
··· 1095 1095 return ret; 1096 1096 } 1097 1097 1098 - static int mhuv2_remove(struct amba_device *adev) 1098 + static void mhuv2_remove(struct amba_device *adev) 1099 1099 { 1100 1100 struct mhuv2 *mhu = amba_get_drvdata(adev); 1101 1101 1102 1102 if (mhu->frame == SENDER_FRAME) 1103 1103 writel_relaxed(0x0, &mhu->send->access_request); 1104 - 1105 - return 0; 1106 1104 } 1107 1105 1108 1106 static struct amba_id mhuv2_ids[] = {