net: designware: Adjust dw_adjust_link() to return an error
authorSimon Glass <sjg@chromium.org>
Wed, 11 Jan 2017 10:46:08 +0000 (11:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Jan 2017 03:23:50 +0000 (20:23 -0700)
commit0ea38db90caa55e8366c9bef4214ab52b3fedf6a
tree3a7cf91ccdd1161736c53a095d05fee3bed0d747
parentb9e08d0e80e311591704a49341199637069fd157
net: designware: Adjust dw_adjust_link() to return an error

This function can fail, so return the error if there is one.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c