OSDN Git Service

drm/tinydrm: remove call to mipi_dbi_init() from mipi_dbi_spi_init()
authorDavid Lechner <david@lechnology.com>
Thu, 3 Aug 2017 22:33:45 +0000 (17:33 -0500)
committerNoralf Trønnes <noralf@tronnes.org>
Fri, 4 Aug 2017 13:12:25 +0000 (15:12 +0200)
commitace988123c3b5cff5f64dabb7b4decf8212242a4
treeceb9ef98d7b80052dfec8bf397aba3fff2d1fec3
parent077d92b6fd9fd5142e5da91c3f8ce3a6064f29a4
drm/tinydrm: remove call to mipi_dbi_init() from mipi_dbi_spi_init()

This removes the call to mipi_dbi_init() from mipi_dbi_spi_init() so that
drivers can have a driver-specific implementation if needed.

Suggested-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: David Lechner <david@lechnology.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1501799630-1650-2-git-send-email-david@lechnology.com
drivers/gpu/drm/tinydrm/mi0283qt.c
drivers/gpu/drm/tinydrm/mipi-dbi.c
include/drm/tinydrm/mipi-dbi.h