Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

OMAPDSS: VENC: remove platform_enable/disable calls

The platform_enable/disable callbacks in board files for VENC omap_dss_device
instances don't do anything. Hence, we can remove these callbacks from the VENC
driver.

Signed-off-by: Archit Taneja <archit@ti.com>

authored by

Archit Taneja and committed by
Tomi Valkeinen
77ec05d0 af9f6c35

-9
-9
drivers/video/omap2/dss/venc.c
··· 519 519 goto err0; 520 520 } 521 521 522 - if (dssdev->platform_enable) 523 - dssdev->platform_enable(dssdev); 524 - 525 - 526 522 r = venc_power_on(dssdev); 527 523 if (r) 528 524 goto err1; ··· 529 533 530 534 return 0; 531 535 err1: 532 - if (dssdev->platform_disable) 533 - dssdev->platform_disable(dssdev); 534 536 omap_dss_stop_device(dssdev); 535 537 err0: 536 538 mutex_unlock(&venc.venc_lock); ··· 544 550 venc_power_off(dssdev); 545 551 546 552 omap_dss_stop_device(dssdev); 547 - 548 - if (dssdev->platform_disable) 549 - dssdev->platform_disable(dssdev); 550 553 551 554 mutex_unlock(&venc.venc_lock); 552 555 }