Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sound: hda_phytium: Convert to platform remove callback returning void
0edb555: platform: Make platform_driver::remove() return void cause build error, so convert .remove from int to void Log: sound/pci/hda/hda_phytium.c:1079:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Werror=incompatible-pointer-types] 1079 | .remove = hda_ft_remove, | ^~~~~~~~~~~~~ sound/pci/hda/hda_phytium.c:1079:19: note: (near initialization for ‘ft_platform_hda.<anonymous>.remove’)
- Loading branch information