From: Stephen Boyd Date: Fri, 23 May 2014 19:57:18 +0000 (-0700) Subject: net: ks8851: Use devm_regulator_get_optional() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~144^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c78dbad8c441af4815cd660587470b78552ecfd8;p=pandora-kernel.git net: ks8851: Use devm_regulator_get_optional() This simplifies error paths and removes the need to regulator_put(). Cc: Nishanth Menon Signed-off-by: Stephen Boyd Signed-off-by: David S. Miller --- Reading git-diff-tree failed