From: Alexander Shiyan Date: Mon, 10 Feb 2014 18:18:32 +0000 (+0400) Subject: serial: max310x: Always use dynamic GPIO ID assignment X-Git-Tag: v3.15-rc1~138^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dba29a2894771562d265232ae4b61f0310bab1f5;p=pandora-kernel.git serial: max310x: Always use dynamic GPIO ID assignment Always register GPIOs and use dynamic GPIO ID assignment. This is no much worth if GPIOs is not used, but helps remove private driver header and add DT support in the future. Additionally, patch adds missing uart_unregister_driver() call if probe() fails. Signed-off-by: Alexander Shiyan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed