commit | b56989e707ba555400a0c590683b8d3e77b3414f | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed May 11 15:26:25 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu May 26 20:48:31 2016 -0600 |
tree | 4678739c78fe7678549ce39c5c427fe77eb2adbd | |
parent | 8c93df1669f07fd19b49333eb17fb5041b867e27 [diff] |
sunxi: gpio: convert bind() to use driver data Now that the DM core sets driver_data before calling bind(), this driver can make use of driver_data to determine the set of child devices to create, rather than manually re-implementing the matching logic in code. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com>