media: ddbridge: link structure access cosmetics in ddb_port_probe()
authorDaniel Scheller <d.scheller@gmx.net>
Sat, 23 Jun 2018 15:36:03 +0000 (11:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 20:23:12 +0000 (16:23 -0400)
commit2957e53e57f2d8a791d5d56978e194440844f186
tree2c96490b90d5b98104f407a21dcd9588c9716605
parent7b6b9b153ad0127ec031438e3538acdebd677b02
media: ddbridge: link structure access cosmetics in ddb_port_probe()

Throughout the function, dev->link[l] is used several times. Unclutter
this a bit by declaring a ddb_link var at the top of the function, assign
the address of dev->link[l] to it and use that var to access the link[]
struct member.

Picked up from the upstream dddvb GIT.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ddbridge/ddbridge-core.c