drm: xlnx: zynqmp_dpsub: Use local variable in zynqmp_disp_layer_update()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2021 11:29:52 +0000 (14:29 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 Oct 2022 13:51:03 +0000 (16:51 +0300)
commit457d7180d628a303cd3c579e95f24746d915591e
tree5605cd490f45c632410da707c5e0ea93b5b46362
parent36d1b456c5fe33c054e2d5ff0033d05e36fbf8a6
drm: xlnx: zynqmp_dpsub: Use local variable in zynqmp_disp_layer_update()

Reuse the local info variable instead of going through the layer pointer
in zynqmp_disp_layer_update(). This doesn't introduce any functional
change.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c