aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-07-27 08:08:37 +0000
committerGreg Kroah-Hartman <[email protected]>2021-07-28 13:33:59 +0000
commitb2c943e52705b211d1aa0633c9196150cf30be47 (patch)
tree8c2dc37bab78ee1d575b7b16a3c71ee90ed87755 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentkernfs: dont call d_splice_alias() under kernfs node lock (diff)
downloadkernel-b2c943e52705b211d1aa0633c9196150cf30be47.tar.gz
kernel-b2c943e52705b211d1aa0633c9196150cf30be47.zip
nubus: Make struct nubus_driver::remove return void
The nubus core ignores the return value of the remove callback (in nubus_device_remove()) and all implementers return 0 anyway. So make it impossible for future drivers to return an unused error code by changing the remove prototype to return void. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Finn Thain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions