From: Maxime Ripard Date: Fri, 25 Jan 2013 08:39:34 +0000 (+0100) Subject: spi: spi-gpio: Add checks for the dt properties X-Git-Tag: v3.9-rc1~148^2~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0202a32d5f4a129ced47db76001f958cd33adeb7;p=pandora-kernel.git spi: spi-gpio: Add checks for the dt properties The bindings assumed that the gpios properties were always there, which made the NO_TX and NO_RX mode not usable from device tree. Add extra checks to make sure that the driver can work if either MOSI or MISO is not used. Signed-off-by: Maxime Ripard Cc: Mark Brown Signed-off-by: Mark Brown --- Reading git-diff-tree failed