Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b285d5af authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Mauro Carvalho Chehab
Browse files

[media] omap3isp: remove pads prefix from isp_create_pads_links()



The function that creates the links between ISP internal and external
entities is called isp_create_pads_links() but the "pads" prefix is
redundant since the driver doesn't handle any other kind of link so
it can just be removed.

While being there, fix the function's kernel-doc since is not using
a proper format.

Suggested-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent b5f6df06
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -1932,11 +1932,15 @@ static int isp_register_entities(struct isp_device *isp)
}

/*
 * isp_create_pads_links - Pads links creation for the subdevices
 * isp_create_links() - Create links for internal and external ISP entities
 * @isp : Pointer to ISP device
 * return negative error code or zero on success
 *
 * This function creates all links between ISP internal and external entities.
 *
 * Return: A negative error code on failure or zero on success. Possible error
 * codes are those returned by media_create_pad_link().
 */
static int isp_create_pads_links(struct isp_device *isp)
static int isp_create_links(struct isp_device *isp)
{
	int ret;

@@ -2527,7 +2531,7 @@ static int isp_probe(struct platform_device *pdev)
	if (ret < 0)
		goto error_modules;

	ret = isp_create_pads_links(isp);
	ret = isp_create_links(isp);
	if (ret < 0)
		goto error_register_entities;