Skip to content
Snippets Groups Projects
Commit 6f82fac2 authored by Stephen Warren's avatar Stephen Warren Committed by Simon Glass
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent daac3bfe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment