From: Anton Vorontsov Date: Mon, 1 Dec 2008 06:30:04 +0000 (+0000) Subject: of/gpio: Implement of_get_gpio_flags() X-Git-Tag: v2.6.29-rc1~574^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b908b53d580c3e9aba81ebe3339c5b7b4fa8031d;p=pandora-kernel.git of/gpio: Implement of_get_gpio_flags() This adds a new function, of_get_gpio_flags, which is like of_get_gpio(), but accepts a new "flags" argument. This new function will be used by the drivers that need to retrieve additional GPIO information, such as active-low flag. Also, this changes the default ("simple") .xlate routine to warn about bogus (< 2) #gpio-cells usage: the second cell should always be present for GPIO flags. Signed-off-by: Anton Vorontsov Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed