]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i2c: adv7511: Refactor encoder slave functions
authorArchit Taneja <architt@codeaurora.org>
Thu, 2 Jul 2015 10:25:55 +0000 (15:55 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:42 +0000 (09:54 +0000)
commit540eb22c3fd7f9343bb74120305907b93a41e662
treeb848d494bbbb05949ff3a8e8189eb8bb67808990
parent2289044f1ebbba5a68aa679558236b546928eb90
drm/i2c: adv7511: Refactor encoder slave functions

ADV7511 is represented as an i2c drm slave encoder device. ADV7533, on
the other hand, is going be a normal i2c client device creating bridge
and connector entities.

Move the code in encoder slave functions to generate helpers that are
agnostic to the drm object type. These helpers will later also be used
by bridge and connecter helper functions.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/i2c/adv7511.c