]> Git Repo - u-boot.git/commit
sunxi: gpio: convert bind() to use driver data
authorStephen Warren <[email protected]>
Wed, 11 May 2016 21:26:25 +0000 (15:26 -0600)
committerSimon Glass <[email protected]>
Fri, 27 May 2016 02:48:31 +0000 (20:48 -0600)
commit6f82fac2f278173f5afe5b4b5dbc269646d11c0b
tree4678739c78fe7678549ce39c5c427fe77eb2adbd
parentdaac3bfee57247013cb8373683e9babb191abd75
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 <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
drivers/gpio/sunxi_gpio.c
This page took 0.034592 seconds and 4 git commands to generate.