aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-02-12 17:10:43 +0000
committerDan Williams <[email protected]>2021-02-17 03:35:29 +0000
commit1f975074634a63f014e2b7e76852ee6d6005a91d (patch)
tree8fa1e0b3eacfb3299bb7384a191067114cffd155 /scripts/mod/file2alias.c
parentlibnvdimm/dimm: Simplify nvdimm_remove() (diff)
downloadkernel-1f975074634a63f014e2b7e76852ee6d6005a91d.tar.gz
kernel-1f975074634a63f014e2b7e76852ee6d6005a91d.zip
libnvdimm: Make remove callback return void
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. 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