diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-05-11 15:26:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-26 20:48:31 -0600 |
commit | 6f82fac2f278173f5afe5b4b5dbc269646d11c0b (patch) | |
tree | 4678739c78fe7678549ce39c5c427fe77eb2adbd /drivers/misc | |
parent | daac3bfee57247013cb8373683e9babb191abd75 (diff) | |
download | u-boot-imx-6f82fac2f278173f5afe5b4b5dbc269646d11c0b.zip u-boot-imx-6f82fac2f278173f5afe5b4b5dbc269646d11c0b.tar.gz u-boot-imx-6f82fac2f278173f5afe5b4b5dbc269646d11c0b.tar.bz2 |
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions