commit | e027d6f9d52d9ccabb307d0cb0265de3481b1e9e | [log] [tgz] |
---|---|---|
author | Jamie Iles <jamie@jamieiles.com> | Fri May 20 00:40:16 2011 -0600 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri May 20 00:40:16 2011 -0600 |
tree | c692bb9e3a99d96e0655756d36fe821604945025 | |
parent | 364b5e871839fafffa851bbff9ecf64ac641023c [diff] |
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 <jamie@jamieiles.com> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>