From: Hungyu Lin Date: Thu, 30 Apr 2026 10:25:29 +0000 (+0000) Subject: staging: fbtft: remove unused function fbtft_write_gpio16_wr_latched X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=617a446d0e80ffe41189cc90ae462b4e9e956b8b;p=thirdparty%2Flinux.git staging: fbtft: remove unused function fbtft_write_gpio16_wr_latched The function fbtft_write_gpio16_wr_latched is not referenced anywhere in the driver and only contains a stub implementation. Remove it from the driver. Signed-off-by: Hungyu Lin Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/20260430102529.25019-1-dennylin0707@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fbtft-io.c b/drivers/staging/fbtft/fbtft-io.c index de1904a443c2..7d331eba947a 100644 --- a/drivers/staging/fbtft/fbtft-io.c +++ b/drivers/staging/fbtft/fbtft-io.c @@ -227,10 +227,3 @@ int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len) return 0; } EXPORT_SYMBOL(fbtft_write_gpio16_wr); - -int fbtft_write_gpio16_wr_latched(struct fbtft_par *par, void *buf, size_t len) -{ - dev_err(par->info->device, "%s: function not implemented\n", __func__); - return -1; -} -EXPORT_SYMBOL(fbtft_write_gpio16_wr_latched); diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h index 317be17b95c1..c7afb0fd3943 100644 --- a/drivers/staging/fbtft/fbtft.h +++ b/drivers/staging/fbtft/fbtft.h @@ -262,7 +262,6 @@ int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len); int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len); int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len); int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len); -int fbtft_write_gpio16_wr_latched(struct fbtft_par *par, void *buf, size_t len); /* fbtft-bus.c */ int fbtft_write_vmem8_bus8(struct fbtft_par *par, size_t offset, size_t len);