Files
u-boot-tk1-som/drivers/gpio
Stephen Warren fe82857c4b gpio: tegra: use named constants
In order to make it clear what the parameters to set_config() and
set_direction() mean, and similarly for the return values from the
respective get_*(), define named constants for these values.

Disassembly shows no diff in the generated code, except that the
order of the code in the branches of tegra_gpio_get_function() gets
modified without affecting behaviour.

Suggested-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2015-10-02 11:05:56 -07:00
..
2015-08-23 11:56:20 +02:00
2014-02-22 19:30:27 +01:00
2014-10-25 07:02:01 -04:00
2015-05-06 17:00:58 +09:00
2015-08-31 17:26:03 +09:00
2015-05-28 08:18:24 -04:00
2015-10-02 11:05:56 -07:00