]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Drop local encoder variable
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 4 Dec 2020 10:25:40 +0000 (12:25 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 5 Jan 2021 05:20:10 +0000 (07:20 +0200)
commit3a608bcbb97e70d18e330d3adb790ac1ac1a4aae
tree07d1312a3a2b75691ade652460e22a00090a74ef
parent9a248605980a7547100d06ab9053f49f3ce43418
drm: rcar-du: Drop local encoder variable

The local encoder variable is an alias for &renc->base, and is only use
twice. It doesn't help much, drop it, along with the
rcar_encoder_to_drm_encoder() macro that is then unused.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_encoder.h