diff options
| author | Uwe Kleine-König <[email protected]> | 2021-02-05 22:28:42 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2021-02-17 03:45:13 +0000 |
| commit | 0d519e0d52ee7c532d4018b90cd0b042d374c06d (patch) | |
| tree | 695200849ef56292e0afc2aa804a87ba82186cde /scripts/mod/file2alias.c | |
| parent | device-dax: Drop an empty .remove callback (diff) | |
| download | kernel-0d519e0d52ee7c532d4018b90cd0b042d374c06d.tar.gz kernel-0d519e0d52ee7c532d4018b90cd0b042d374c06d.zip | |
dax-device: Make remove callback return void
The driver core ignores the return value of struct bus_type::remove()
because there is only little that can be done. To simplify the quest to
make this function return void, let struct dax_device_driver::remove()
return void, too. All users already unconditionally return 0, this commit
makes it obvious that returning an error code isn't intended.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
