[PATCH v7 10/44] [media] media: rename the function that create pad links
From: Mauro Carvalho Chehab <hidden>
Date: 2015-08-26 14:54:16
Also in:
linux-media, linux-samsung-soc, linux-sh
From: Mauro Carvalho Chehab <hidden>
Date: 2015-08-26 14:54:16
Also in:
linux-media, linux-samsung-soc, linux-sh
Em Tue, 25 Aug 2015 12:55:41 -0600 Shuah Khan [off-list ref] escreveu:
On 08/23/2015 02:17 PM, Mauro Carvalho Chehab wrote:quoted
Now that a link can be either between two different graph objects, we'll need to add more functions to create links.Is this an incomplete sentence. Should it read: "either between two different graph objects or two pads" ?
That would be redundant, as pad is a graph object ;)
quoted
So, rename the existing one that create links only between two pads as media_create_pad_link().quoted
No functional changes. This patch was created via this shell script: for i in $(find drivers/media -name '*.[ch]' -type f) $(find drivers/staging/media -name '*.[ch]' -type f) $(find include/ -name '*.h' -type f) ; do sed s,media_entity_create_link,media_create_pad_link,g <$i >a && mv a $i; doneDidn't want to experiment with Coccinelle?? :)
I use Coccinelle, but only when I need more complex changes, as Coccinelle may mangle with comments.
quoted
Signed-off-by: Mauro Carvalho Chehab <redacted> Acked-by: Hans Verkuil <redacted> Signed-off-by: Mauro Carvalho Chehab <redacted>Changes look good to me. After fixing the commit log: Acked-by: Shuah Khan <redacted> thanks, -- Shuah