static int rgb2mipi_esd_handle(struct platform_device *pdev) { int ret = 0; struct hisi_fb_data_type *hisifd = NULL; BUG_ON(pdev == NULL); hisifd = platform_get_drvdata(pdev); BUG_ON(hisifd == NULL); HISI_FB_DEBUG("fb%d, +.\n", hisifd->index); ret = panel_next_esd_handle(pdev); HISI_FB_DEBUG("fb%d, -.\n", hisifd->index); return ret; }
static int dpe_esd_handle(struct platform_device *pdev) { int ret = 0; struct k3_fb_data_type *k3fd = NULL; BUG_ON(pdev == NULL); k3fd = platform_get_drvdata(pdev); BUG_ON(k3fd == NULL); K3_FB_DEBUG("fb%d, +.\n", k3fd->index); ret = panel_next_esd_handle(pdev); K3_FB_DEBUG("fb%d, -.\n", k3fd->index); return ret; }