OSDN Git Service

spi: microchip-core: Remove the unused function mchp_corespi_enable()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 17 Oct 2022 09:21:41 +0000 (17:21 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 11:49:47 +0000 (12:49 +0100)
commit8f4b3d2f653937956fdc68b665c621dfa3cf2fa7
tree64d102c4dd4e906c28c998037ed48b929e3abae4
parent77cda4b9710fd88769997859eb3b7033bfe37e40
spi: microchip-core: Remove the unused function mchp_corespi_enable()

The function mchp_corespi_enable() is defined in the spi-microchip-core.c
file, but not called elsewhere, so delete this unused function.

drivers/spi/spi-microchip-core.c:122:20: warning: unused function 'mchp_corespi_enable'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2418
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221017092141.9789-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-microchip-core.c