From: Ezequiel Garcia Date: Thu, 22 May 2014 23:07:02 +0000 (-0300) Subject: net: mvmdio: Use devm_* API to simplify the code X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~149^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ecd2cc3810b76fc88d39369d23791fbd9adf81;p=pandora-kernel.git net: mvmdio: Use devm_* API to simplify the code This commit makes use of devm_kmalloc_array() for memory allocation and the recently introduced devm_mdiobus_alloc() API to simplify driver's code. While here, remove a redundant out of memory error message. Acked-by: Sebastian Hesselbarth Signed-off-by: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed