Skip to content

Commit

Permalink
media: exynos4-is: remove a now unused integer
Browse files Browse the repository at this point in the history
The usage of pm_runtime_resume_and_get() removed the need of a
temporary integer. So, drop it.

Fixes: 59f9624 ("media: exynos4-is: fix pm_runtime_get_sync() usage count")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Mauro Carvalho Chehab committed May 11, 2021
1 parent 73edc4d commit 29dd19e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/platform/exynos4-is/media-dev.c
Original file line number Diff line number Diff line change
@@ -1284,7 +1284,6 @@ static DEVICE_ATTR(subdev_conf_mode, S_IWUSR | S_IRUGO,
static int cam_clk_prepare(struct clk_hw *hw)
{
struct cam_clk *camclk = to_cam_clk(hw);
int ret;

if (camclk->fmd->pmf == NULL)
return -ENODEV;

0 comments on commit 29dd19e

Please sign in to comment.