Skip to content

Commit

Permalink
media: rkisp1: Rename rkisp1_subdev_notifier() to rkisp1_subdev_notif…
Browse files Browse the repository at this point in the history
…ier_register()

The function name isn't very clear, rename it to
rkisp1_subdev_notifier_register().

Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
pinchartl authored and mchehab committed Jul 17, 2022
1 parent cf7a8e2 commit 124b89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static const struct v4l2_async_notifier_operations rkisp1_subdev_notifier_ops =
.complete = rkisp1_subdev_notifier_complete,
};

static int rkisp1_subdev_notifier(struct rkisp1_device *rkisp1)
static int rkisp1_subdev_notifier_register(struct rkisp1_device *rkisp1)
{
struct v4l2_async_notifier *ntf = &rkisp1->notifier;
unsigned int next_id = 0;
Expand Down Expand Up @@ -358,7 +358,7 @@ static int rkisp1_entities_register(struct rkisp1_device *rkisp1)
if (ret)
goto error;

ret = rkisp1_subdev_notifier(rkisp1);
ret = rkisp1_subdev_notifier_register(rkisp1);
if (ret) {
dev_err(rkisp1->dev,
"Failed to register subdev notifier(%d)\n", ret);
Expand Down

0 comments on commit 124b89f

Please sign in to comment.