mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
media: exynos4-is: remove a now unused integer
The usage of pm_runtime_resume_and_get() removed the need of a
temporary integer. So, drop it.
Fixes: 59f96244af
("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>
This commit is contained in:
parent
73edc4da40
commit
29dd19e3ac
1 changed files with 0 additions and 1 deletions
|
@ -1284,7 +1284,6 @@ static DEVICE_ATTR(subdev_conf_mode, S_IWUSR | S_IRUGO,
|
||||||
static int cam_clk_prepare(struct clk_hw *hw)
|
static int cam_clk_prepare(struct clk_hw *hw)
|
||||||
{
|
{
|
||||||
struct cam_clk *camclk = to_cam_clk(hw);
|
struct cam_clk *camclk = to_cam_clk(hw);
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (camclk->fmd->pmf == NULL)
|
if (camclk->fmd->pmf == NULL)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
Loading…
Reference in a new issue