Skip to content

Commit

Permalink
[media] s5p-fimc: fimc-lite: Remove empty s_power subdev callback
Browse files Browse the repository at this point in the history
The .s_power FIMC-LITE subdev callback is now empty and
unneeded. The FIMC-LITE IP power handling will be done
by the FIMC-IS driver, so just remove the callback.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Feb 5, 2013
1 parent cac47f1 commit 81b9f70
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions drivers/media/platform/s5p-fimc/fimc-lite.c
Original file line number Diff line number Diff line change
Expand Up @@ -1280,18 +1280,6 @@ static int fimc_lite_subdev_s_stream(struct v4l2_subdev *sd, int on)
return ret;
}

static int fimc_lite_subdev_s_power(struct v4l2_subdev *sd, int on)
{
struct fimc_lite *fimc = v4l2_get_subdevdata(sd);

if (fimc->out_path == FIMC_IO_DMA)
return -ENOIOCTLCMD;

/* TODO: */

return 0;
}

static int fimc_lite_log_status(struct v4l2_subdev *sd)
{
struct fimc_lite *fimc = v4l2_get_subdevdata(sd);
Expand Down Expand Up @@ -1391,7 +1379,6 @@ static const struct v4l2_subdev_video_ops fimc_lite_subdev_video_ops = {
};

static const struct v4l2_subdev_core_ops fimc_lite_core_ops = {
.s_power = fimc_lite_subdev_s_power,
.log_status = fimc_lite_log_status,
};

Expand Down

0 comments on commit 81b9f70

Please sign in to comment.