On Thu, 7 Jul 2022 17:31:56 +0200, Uwe Kleine-König wrote: > When a remove platform device callback returns an error code, the driver > core emits an error message ("remove callback returned a non-zero value. > This will be ignored.\n") and still removes the device. As the driver > already emits a more specific error message, return 0 to suppress the > core's error message. > > This is a preparation for making platform remove callbacks return void. > > [...] Applied, thanks! [1/1] rtc: cros-ec: Only warn once in .remove() about notifier_chain problems commit: 5c9f41443e8d5fbd414ad0dfa8e0996b937d135a Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com