• R
    drm/i2c: tda998x: allow re-use of tda998x support code · a8f4d4d6
    Russell King 提交于
    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: NDarren Etheridge <detheridge@ti.com>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    a8f4d4d6
tda998x_drv.c 44.5 KB