mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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 <dennylin0707@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Link: https://patch.msgid.link/20260430102529.25019-1-dennylin0707@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d845a18746
commit
617a446d0e
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user