aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-07-07 17:31:56 +0200
committerAlexandre Belloni <[email protected]>2022-07-26 16:43:46 +0200
commit5c9f41443e8d5fbd414ad0dfa8e0996b937d135a (patch)
tree601ccdd459576d85a9aece00f64bdf8e52ad0b78 /lib/mpi/mpi-cmp.c
parent2a692245b6de1f17baef24db46fed03186ff3cc3 (diff)
rtc: cros-ec: Only warn once in .remove() about notifier_chain problems
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. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Tzung-Bi Shih <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions