drm: bridge: it66121: Simplify probe()
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 18 Aug 2023 19:18:17 +0000 (20:18 +0100)
committerRobert Foss <rfoss@kernel.org>
Tue, 5 Sep 2023 14:16:16 +0000 (16:16 +0200)
commit29ff3b7e23af86ccaea2750b4edfbe1fc063ec9c
treec2f934b47560b8ba6b18c0f6b415dd31d0c4d00f
parentc11c1a50573e106aa60eed977d199c424c6469e3
drm: bridge: it66121: Simplify probe()

Simplify probe() by replacing of_device_get_match_data() and ID lookup
for retrieving match data by i2c_get_match_data().

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230818191817.340360-3-biju.das.jz@bp.renesas.com
drivers/gpu/drm/bridge/ite-it66121.c