aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-07-19 17:59:08 +0200
committerNoralf Trønnes <noralf@tronnes.org>2019-07-23 15:45:31 +0200
commitcfcc8fcb117091bcd95b10b6b75deed30037a1ff (patch)
tree70956e7c9606510a5d43d29e8441cd773416d84a /include/drm
parentdrm/tinydrm: Use DRM_MODE_CONNECTOR_SPI (diff)
downloadlinux-dev-cfcc8fcb117091bcd95b10b6b75deed30037a1ff.tar.xz
linux-dev-cfcc8fcb117091bcd95b10b6b75deed30037a1ff.zip
drm/tinydrm: Use spi_is_bpw_supported()
This means that tinydrm_spi_bpw_supported() can be removed. Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190719155916.62465-4-noralf@tronnes.org
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/tinydrm/tinydrm-helpers.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/tinydrm/tinydrm-helpers.h b/include/drm/tinydrm/tinydrm-helpers.h
index f8bcadf48cb1..146bc383297c 100644
--- a/include/drm/tinydrm/tinydrm-helpers.h
+++ b/include/drm/tinydrm/tinydrm-helpers.h
@@ -43,7 +43,6 @@ int tinydrm_display_pipe_init(struct drm_device *drm,
unsigned int rotation);
size_t tinydrm_spi_max_transfer_size(struct spi_device *spi, size_t max_len);
-bool tinydrm_spi_bpw_supported(struct spi_device *spi, u8 bpw);
int tinydrm_spi_transfer(struct spi_device *spi, u32 speed_hz,
struct spi_transfer *header, u8 bpw, const void *buf,
size_t len);