]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'dsa-lan9303-check-error-value-from-devm_gpiod_get_optional'
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Jan 2018 18:18:03 +0000 (13:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jan 2018 18:18:03 +0000 (13:18 -0500)
Phil Reid says:

====================
net: dsa: lan9303: check error value from devm_gpiod_get_optional()

Errors need to be prograted back from probe.

Note: I have only compile tested the code as I don't have the hardware.
Egil Hjelmeland <privat@egil-hjelmeland.no> has tested it but I haven't
added at Test-by: wasn't in the standard form. Not sure if that's ok or
not.

Changes from v1:
- rebased on net-next
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge