Full remove warning :
ret = of_get_drm_display_mode(panel->dev->of_node, mode, p->desc->bus_format,
change to:
ret = of_get_drm_display_mode(panel->dev->of_node, mode, (u32 *)&p->desc->bus_format,
and delete unused variable line 379,470,525
I am not familiar upstream policy and it aim is not bit-to-bit compatible with the rockchip kernel.
This patch driver make drive a dsi panel easy, so I shared this to armbian build system.I hope it help someone drive dsi panel easy.