|
@@ -840,7 +840,7 @@ put_clk:
|
|
|
|
|
|
static int g2d_remove(struct platform_device *pdev)
|
|
static int g2d_remove(struct platform_device *pdev)
|
|
{
|
|
{
|
|
- struct g2d_dev *dev = (struct g2d_dev *)platform_get_drvdata(pdev);
|
|
|
|
|
|
+ struct g2d_dev *dev = platform_get_drvdata(pdev);
|
|
|
|
|
|
v4l2_info(&dev->v4l2_dev, "Removing " G2D_NAME);
|
|
v4l2_info(&dev->v4l2_dev, "Removing " G2D_NAME);
|
|
v4l2_m2m_release(dev->m2m_dev);
|
|
v4l2_m2m_release(dev->m2m_dev);
|