From: Ricardo Ribalda Delgado Date: Wed, 17 Dec 2014 15:51:12 +0000 (+0100) Subject: gpio/xilinx: Create a single gpio chip on dual cores X-Git-Tag: fixes-v4.0-rc1~140^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6902d3a68e83061c979a57d7411e8ae172df67;p=pandora-kernel.git gpio/xilinx: Create a single gpio chip on dual cores Currently, we had two gpio chips on cores configured as dual. This lead to mapping the same memory region twice and duplicating the init and remove code. This patch creates a single gpiochip for single and dual cores. Suggested-by: Alexandre Courbot Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Linus Walleij --- Reading git-diff-tree failed