Merge branch 'icc-ignore-return-val' into icc-next
authorGeorgi Djakov <djakov@kernel.org>
Tue, 20 Sep 2022 12:57:00 +0000 (15:57 +0300)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 20 Sep 2022 12:57:00 +0000 (15:57 +0300)
commit7360d55ba1993cb59267507d04b7e62c40bad424
tree2bf9f750fbff84e79cd383d104306319f9de5424
parent7aa429e8d40ed7e8ab3c0ff5e2836c051ab2434a
parentf62e3f595c5f08e6066d88bc96d50247424291f8
Merge branch 'icc-ignore-return-val' into icc-next

Today remove callbacks of platform devices return an int. This is unfortunate
because the device core ignores the return value and so the platform code only
emits a warning (and still removes the device).

The longterm quest is to make these remove callbacks return void instead.
This series is a preparation for that, with the goal to make the remove
callbacks obviously always return 0. This way when the prototype of
these functions is changed to return void, the change is straight
forward and easy to review.

Link: https://lore.kernel.org/r/20220718121409.171773-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Georgi Djakov <djakov@kernel.org>