From: Jamie Iles Date: Fri, 20 May 2011 06:40:16 +0000 (-0600) Subject: basic_mmio_gpio: detect output method at probe time X-Git-Tag: v3.0-rc1~130^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e027d6f9d52d9ccabb307d0cb0265de3481b1e9e;p=pandora-kernel.git basic_mmio_gpio: detect output method at probe time Rather than detecting the output method each time in the .set() callback, do it at probe time and set the appropriate callback. Changes since v2: moved the reg_dat initialization into bgpio_setup_io(). Signed-off-by: Jamie Iles Acked-by: Anton Vorontsov Signed-off-by: Grant Likely --- Reading git-diff-tree failed