diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-07-19 18:59:08 +0300 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-07-23 16:45:31 +0300 |
commit | cfcc8fcb117091bcd95b10b6b75deed30037a1ff (patch) | |
tree | 70956e7c9606510a5d43d29e8441cd773416d84a /include/drm/tinydrm | |
parent | e6652156a31498c63533a6353bcaeec8d0904d26 (diff) | |
download | linux-cfcc8fcb117091bcd95b10b6b75deed30037a1ff.tar.xz |
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/tinydrm')
-rw-r--r-- | include/drm/tinydrm/tinydrm-helpers.h | 1 |
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); |