From a8f4d4d63739e4bca459ff40636f1d9e4b7ef5e6 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 7 Feb 2014 19:17:21 +0000 Subject: [PATCH] drm/i2c: tda998x: allow re-use of tda998x support code Re-jig the TDA998x code so that we separate the functionality from the drm slave encoder implementation. In several places, this is pretty clearly the correct thing to do, because we can avoid repetitively having to convert from the drm_encoder to the TDA998x private structure, particularly with the driver internal functions. The main motivation behind this change is to allow the code to be re-used with a standard drm_encoder and drm_connector implementation based on the component helpers, rather than the slave_encoder system. The addition of this will be in the following patch. We keep the slave_encoder interface as there are existing users of this; we need to give them time to convert and test. Tested-by: Darren Etheridge Signed-off-by: Russell King --- Reading git-format-patch failed