From: Richard Fitzgerald Date: Wed, 19 Nov 2014 14:13:06 +0000 (+0000) Subject: regulator: gpio: fix parsing of gpio list X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~23^2~3^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f946099fe1927aa746892232c4421e1ae175699;p=pandora-kernel.git regulator: gpio: fix parsing of gpio list The list of gpios is defined as optional but the code was failing to properly handle the case of no gpios, and also failing to check for errors reading the entry from the devicetree. This patch fixes the handling of optional gpios - this is a useful feature enabling the gpio-regulator to be used as a dummy variable voltage regulator without having to assign any real GPIO lines. Signed-off-by: Richard Fitzgerald Signed-off-by: Mark Brown --- Reading git-diff-tree failed