Re: [PATCH 2/2] libnvdimm: Make remove callback return void

From: Dan Williams
Date: Tue Feb 16 2021 - 22:40:37 EST


On Fri, Feb 12, 2021 at 9:21 AM Uwe Kleine-König
<u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
>
> All drivers return 0 in their remove callback and the driver core ignores
> the return value of nvdimm_bus_remove() anyhow. So simplify by changing
> the driver remove callback to return void and return 0 unconditionally
> to the upper layer.

Looks good, thanks.