From: Ilya Yanok Date: Tue, 6 Mar 2012 00:11:02 +0000 (-0800) Subject: ARM: OMAP2+: ads7846_init: put gpio_pendown into pdata if it's provided X-Git-Tag: v3.4-rc1~93^2~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7db74d5e327197289f2eb83c13f8d1b565a21467;p=pandora-kernel.git ARM: OMAP2+: ads7846_init: put gpio_pendown into pdata if it's provided If platform data is provided by the caller gpio_pendown is put into unused static ads7846_config structure and effectively has no effect. Of course caller can set gpio_pendown field in platform data himself but it seems natural to do this in ads7846_init to remove duplication. Signed-off-by: Igor Grinberg Signed-off-by: Ilya Yanok Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed