From: Daniel Mack Date: Wed, 5 Sep 2012 09:04:35 +0000 (+0200) Subject: spi: spi-gpio: store chipselect information in private structure X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~41^2~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=161c2dd3ca143f0dca50d72292bf651eabe2aa23;p=pandora-kernel.git spi: spi-gpio: store chipselect information in private structure The spi-gpio driver currently assumes the chipselect gpio number is stored in ->controller_data of the device's static board information. In devicetree environments, this information is unavailable and has to be derived from the DT node. This patch moves the gpio storage to the controller's private data so the DT bindings can easily build upon the driver. Signed-off-by: Daniel Mack Signed-off-by: Mark Brown --- Reading git-diff-tree failed