summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/valkyriefb.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2017-06-12 22:55:39 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-13 18:56:42 +0200
commitfe0e4052fb11d5c713961ab7e136520be40052a3 (patch)
tree60dbcae8697b5c2fc821c8bc2e12b93a64f5db3a /drivers/video/fbdev/valkyriefb.c
parentmdio_bus: handle only single PHY reset GPIO (diff)
downloadlinux-fe0e4052fb11d5c713961ab7e136520be40052a3.tar.xz
linux-fe0e4052fb11d5c713961ab7e136520be40052a3.zip
mdio_bus: use devm_gpiod_get_optional()
The MDIO reset GPIO is really a classical optional GPIO property case, so devm_gpiod_get_optional() should have been used, not devm_gpiod_get(). Doing this saves several LoCs... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/fbdev/valkyriefb.c')
0 files changed, 0 insertions, 0 deletions