Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions drivers/media/platform/phytium/phytium_jpeg_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ static int phytium_jpeg_probe(struct platform_device *pdev)
}

#define to_phytium_jpeg(x) container_of((x), struct phytium_jpeg_dev, v4l2_dev)
static int phytium_jpeg_remove(struct platform_device *pdev)
static void phytium_jpeg_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct v4l2_device *v4l2_dev = dev_get_drvdata(dev);
Expand All @@ -1359,8 +1359,6 @@ static int phytium_jpeg_remove(struct platform_device *pdev)
v4l2_device_unregister(v4l2_dev);

of_reserved_mem_device_release(dev);

return 0;
}

static struct platform_driver phytium_jpeg_driver = {
Expand Down
Loading