Thread (6 messages) 6 messages, 4 authors, 2020-12-05

Re: [PATCH] ARM: sa11111: make sa1111 bus's remove callback return void

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2020-12-02 03:17:10
Also in: linux-input, linux-usb

On Thu, Nov 26, 2020 at 12:47:24PM +0100, Uwe Kleine-König wrote:
The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sa1111_driver::remove return
void, too. All users already unconditionally return 0, this commit makes
it obvious that returning an error code is a bad idea and ensures future
users behave accordingly.

Signed-off-by: Uwe Kleine-König <redacted>
---
 arch/arm/common/sa1111.c               | 6 +++---
 arch/arm/include/asm/hardware/sa1111.h | 2 +-
 drivers/input/serio/sa1111ps2.c        | 4 +---
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Thanks.

-- 
Dmitry

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help